-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
70 lines (66 loc) · 1.98 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
import setuptools
with open('README.rst', 'r') as f:
long_description = f.read()
with open('schwab/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='schwab-py',
version=version,
author='Alex Golec',
author_email='[email protected]',
description='Unofficial API wrapper for the Schwab HTTP API',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/alexgolec/schwab-py',
packages=setuptools.find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Development Status :: 1 - Planning',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Office/Business :: Financial :: Investment',
],
python_requires='>=3.10',
install_requires=[
'autopep8',
'authlib',
'flask',
'httpx',
'multiprocess',
'prompt_toolkit',
'psutil',
'python-dateutil',
'urllib3',
'websockets'
],
extras_require={
'dev': [
'callee',
'colorama',
'coverage',
'nose',
'pytest',
'pytz',
'setuptools',
'sphinx_rtd_theme',
'twine',
'wheel',
]
},
keywords='finance trading equities bonds options research',
project_urls={
'Documentation': 'https://schwab-py.readthedocs.io/en/latest/',
'Source': 'https://github.com/alexgolec/schwab-py',
'Tracker': 'https://github.com/alexgolec/schwab-py/issues',
},
license='MIT',
scripts=[
'bin/schwab-order-codegen.py',
'bin/schwab-generate-token.py',
],
)