-
Notifications
You must be signed in to change notification settings - Fork 205
/
setup.py
64 lines (58 loc) · 1.57 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
from setuptools import setup, find_packages
from codecs import open
import os
import os.path
pjoin = os.path.join
here = os.path.abspath(os.path.dirname(__file__))
name = "tdameritrade"
with open(pjoin(here, "README.md"), encoding="utf-8") as f:
long_description = f.read().replace("\r\n", "\n")
requires = [
"pandas>=0.22.0",
"requests>=2.23.0",
]
requires_auth = [
"selenium>=3.141.0",
]
requires_dev = (
[
"black>=23",
"bump2version>=1.0.0",
"flake8>=3.7.8",
"flake8-black>=0.2.1",
"mock",
"pytest>=4.3.0",
"pytest-cov>=2.6.1",
"Sphinx>=1.8.4",
"sphinx-markdown-builder>=0.5.2",
]
+ requires
+ requires_auth
)
setup(
name=name,
version="0.2.1",
description="APIs for TD Ameritrade",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/timkpaine/{name}".format(name=name),
author="Tim Paine",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords="finance data",
zip_safe=False,
packages=find_packages(exclude=[]),
entry_points={"console_scripts": ["tdameritrade-auth = tdameritrade.auth:main"]},
install_requires=requires,
extras_require={
"auth": requires_auth,
"dev": requires_dev,
},
)