Skip to content

Commit 6bff646

Browse files
committed
MAINT: Update README
Update README format Move most metadata to setup.cfg Clean setup.py closes #891
1 parent 898147a commit 6bff646

File tree

2 files changed

+29
-34
lines changed

2 files changed

+29
-34
lines changed

setup.cfg

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
[metadata]
2+
name = pandas-datareader
3+
description = Pandas-compatible data readers. Formerly a component of pandas.
4+
long_description = file: README.md
5+
long_description_content_type = text/markdown
6+
url = https://pandas.pydata.org
7+
author = The PyData Development Team
8+
author_email = [email protected]
9+
license = BSD-3-Clause
10+
license_file = LICENSE.md
11+
platforms = any
12+
classifiers =
13+
Development Status :: 5 - Production/Stable
14+
Environment :: Console
15+
Intended Audience :: Science/Research
16+
License :: OSI Approved :: BSD License
17+
Operating System :: OS Independent
18+
Programming Language :: Python
19+
Programming Language :: Python :: 3
20+
Programming Language :: Python :: 3 :: Only
21+
Programming Language :: Python :: 3.7
22+
Programming Language :: Python :: 3.8
23+
Programming Language :: Python :: 3.9
24+
Topic :: Scientific/Engineering
25+
project_urls =
26+
Bug Tracker = https://github.com/pydata/pandas-datareader/issues
27+
Documentation = http://pydata.github.io/pandas-datareader
28+
Source Code = https://github.com/pydata/pandas-datareader
29+
130
[versioneer]
231
VCS = git
332
style = pep440

setup.py

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,48 +5,14 @@
55

66
import versioneer
77

8-
NAME = "pandas-datareader"
9-
10-
11-
def readme():
12-
with open("README.md") as f:
13-
return f.read()
14-
15-
16-
install_requires = []
178
with open("./requirements.txt") as f:
189
install_requires = f.read().splitlines()
19-
with open("./requirements-dev.txt") as f:
20-
tests_require = f.read().splitlines()
2110

2211
setup(
23-
name=NAME,
2412
version=versioneer.get_version(),
2513
cmdclass=versioneer.get_cmdclass(),
26-
description="Data readers extracted from the pandas codebase,"
27-
"should be compatible with recent pandas versions",
28-
long_description=readme(),
29-
license="BSD License",
30-
author="The PyData Development Team",
31-
author_email="[email protected]",
32-
url="https://github.com/pydata/pandas-datareader",
33-
classifiers=[
34-
"Development Status :: 4 - Beta",
35-
"Environment :: Console",
36-
"Intended Audience :: Science/Research",
37-
"Operating System :: OS Independent",
38-
"Programming Language :: Python",
39-
"Programming Language :: Python :: 3",
40-
"Programming Language :: Python :: 3.6",
41-
"Programming Language :: Python :: 3.7",
42-
"Programming Language :: Python :: 3.8",
43-
"Topic :: Scientific/Engineering",
44-
],
45-
keywords="data",
4614
install_requires=install_requires,
4715
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
48-
test_suite="tests",
49-
tests_require=tests_require,
5016
zip_safe=False,
5117
python_requires=">=3.6",
5218
)

0 commit comments

Comments
 (0)