forked from alexgolec/tda-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (61 loc) · 1.89 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
import setuptools
with open('README.rst', 'r') as f:
long_description = f.read()
with open('tda/version.py', 'r') as f:
'''Version looks like `version = '1.2.3'`'''
version = [s.strip() for s in f.read().strip().split('=')][1]
version = version[1:-1]
setuptools.setup(
name='tda-api',
version=version,
author='Alex Golec',
author_email='bottomless.septic.tank@gmail.com',
description='An unofficial wrapper around the TD Ameritrade HTTP API.',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/alexgolec/tda-api',
packages=setuptools.find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Office/Business :: Financial :: Investment',
],
python_requires='>=3.6',
install_requires=[
'authlib',
'autopep8',
'httpx',
'prompt_toolkit',
'python-dateutil',
'selenium',
'websockets>=9.0.0'],
extras_require={
'dev': [
'asynctest',
'colorama',
'coverage',
'tox',
'nose',
'pytest',
'pytz',
'sphinx_rtd_theme',
'twine',
]
},
keywords='finance trading equities bonds options research',
project_urls={
'Documentation': 'https://tda-api.readthedocs.io/en/latest/',
'Source': 'https://github.com/alexgolec/tda-api',
'Tracker': 'https://github.com/alexgolec/tda-api/issues',
},
license='MIT',
scripts=[
'bin/tda-generate-token.py',
'bin/tda-order-codegen.py',
],
)