|
1 | 1 | """Setup file for PyPI""" |
2 | 2 |
|
3 | | -# To use a consistent encoding |
4 | 3 | from os import path |
5 | | - |
6 | | -# Always prefer setuptools over distutils |
7 | 4 | from setuptools import setup, find_packages |
8 | 5 |
|
9 | | -# The directory containing this file |
10 | 6 | HERE = path.abspath(path.dirname(__file__)) |
11 | 7 |
|
12 | | -# Get the long description from the README file |
13 | 8 | with open(path.join(HERE, "README.md"), encoding="utf-8") as f: |
14 | 9 | long_description = f.read() |
15 | 10 |
|
16 | | -# This call to setup() does all the work |
17 | 11 | setup( |
18 | 12 | name="eodhd", |
19 | | - version="1.0.31", |
| 13 | + version="1.3.2", |
20 | 14 | description="Official EODHD API Python Library", |
21 | 15 | long_description=long_description, |
22 | 16 | long_description_content_type="text/markdown", |
23 | | - url="https://whittle.medium.com", |
24 | | - author="Michael Whittle", |
25 | | - author_email="michael@lifecycle-ps.com", |
| 17 | + url="https://eodhd.com", |
| 18 | + author="Michael Whittle, Alex Chernyshev", |
| 19 | + author_email="support@eodhistoricaldata.com", |
26 | 20 | license="MIT", |
27 | 21 | classifiers=[ |
28 | 22 | "Intended Audience :: Developers", |
29 | 23 | "License :: OSI Approved :: MIT License", |
30 | 24 | "Programming Language :: Python :: 3", |
| 25 | + "Programming Language :: Python :: 3 :: Only", |
31 | 26 | "Programming Language :: Python :: 3.11", |
32 | 27 | "Operating System :: OS Independent", |
33 | 28 | ], |
34 | | - packages=find_packages(include=["eodhd"]) + ['eodhd.APIs'], |
| 29 | + python_requires=">=3.9", |
| 30 | + packages=find_packages(exclude=("tests", "tests.*")), |
35 | 31 | include_package_data=True, |
36 | 32 | install_requires=[ |
37 | 33 | "websockets>=11.0.3", |
|
42 | 38 | "numpy>=1.25.2", |
43 | 39 | "matplotlib>=3.7.2", |
44 | 40 | ], |
45 | | - entry_points={ |
46 | | - "console_scripts": [ |
47 | | - "whittlem=eodhd.__main__:main", |
48 | | - ] |
49 | | - }, |
50 | | - setup_requires=["pytest-runner==6.0.0"], |
51 | | - tests_require=["pytest==7.4.2"], |
52 | | - test_suite="tests", |
53 | 41 | ) |
0 commit comments