Skip to content

Commit 5fe8681

Browse files
committed
PyPI setup updated
1 parent f362a4b commit 5fe8681

2 files changed

Lines changed: 7 additions & 20 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ To access our APIs, you need to register on our site (it’s free) and obtain an
1010

1111
* End of the Day Historical Stock Market Data
1212
* Live (Delayed) Stock Prices and Macroeconomic Data
13-
* Bonds Fundamentals
1413
* Intraday Historical Data
1514
* Historical Dividends
1615
* Historical Splits

setup.py

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,33 @@
11
"""Setup file for PyPI"""
22

3-
# To use a consistent encoding
43
from os import path
5-
6-
# Always prefer setuptools over distutils
74
from setuptools import setup, find_packages
85

9-
# The directory containing this file
106
HERE = path.abspath(path.dirname(__file__))
117

12-
# Get the long description from the README file
138
with open(path.join(HERE, "README.md"), encoding="utf-8") as f:
149
long_description = f.read()
1510

16-
# This call to setup() does all the work
1711
setup(
1812
name="eodhd",
19-
version="1.0.31",
13+
version="1.3.2",
2014
description="Official EODHD API Python Library",
2115
long_description=long_description,
2216
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",
2620
license="MIT",
2721
classifiers=[
2822
"Intended Audience :: Developers",
2923
"License :: OSI Approved :: MIT License",
3024
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3 :: Only",
3126
"Programming Language :: Python :: 3.11",
3227
"Operating System :: OS Independent",
3328
],
34-
packages=find_packages(include=["eodhd"]) + ['eodhd.APIs'],
29+
python_requires=">=3.9",
30+
packages=find_packages(exclude=("tests", "tests.*")),
3531
include_package_data=True,
3632
install_requires=[
3733
"websockets>=11.0.3",
@@ -42,12 +38,4 @@
4238
"numpy>=1.25.2",
4339
"matplotlib>=3.7.2",
4440
],
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",
5341
)

0 commit comments

Comments
 (0)