forked from energyquantified/eq-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (63 loc) · 2.07 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# Requirements
install_requires = [
"requests>=2.31,<3",
"pytz",
"tzlocal",
"python-dateutil>=2.8.0,<2.10",
"websocket-client==1.5.1",
]
# tests_require = [
# "pytest",
# "requests-mock",
# ]
# Get package info
about = {}
package_info_filename = os.path.join(here, "energyquantified", "__version__.py")
with open(package_info_filename, "r", encoding="utf-8") as f:
exec(f.read(), about)
# Get the README.md file (long description)
with open(os.path.join(here, "README.md"), "r", encoding="utf-8") as f:
readme = f.read()
# Classifiers
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Office/Business :: Financial",
"Topic :: Software Development :: Libraries :: Python Modules",
]
setup(
name=about["__title__"],
version=about["__version__"],
description=about["__description__"],
long_description=readme,
long_description_content_type="text/markdown",
author=about["__author__"],
url=about["__url__"],
packages=find_packages(include=["energyquantified", "energyquantified.*"]),
package_data={
'': ["LICENSE"],
},
python_requires=">=3.7",
install_requires=install_requires,
# tests_require=tests_require,
project_urls={
"Documentation": "https://energyquantified-python.readthedocs.io",
"Source": "https://github.com/energyquantified/eq-python-client",
},
classifiers=classifiers
)