forked from alexgolec/schwab-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (59 loc) · 1.82 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
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',
'httpx',
'prompt_toolkit',
'python-dateutil',
'selenium',
'websockets'
],
extras_require={
'dev': [
'colorama',
'coverage',
'nose',
'pytest',
'pytz',
'sphinx_rtd_theme',
'twine',
]
},
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',
],
)