-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (39 loc) · 1.26 KB
/
setup.py
File metadata and controls
46 lines (39 loc) · 1.26 KB
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
#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
readme = open("README.rst").read()
doclink = """
Documentation
-------------
The full documentation is at http://tdam_api.rtfd.org."""
setup(
name="tdam_api",
version="0.1.0",
description="A Python client for the TDAmeritrade Trading API",
long_description=readme + "\n\n" + doclink + "\n\n",
author="Jyoti Basu",
author_email="jyotibasu@engineeredtrades.com",
url="https://github.com/jbasu/tdam_api",
packages=find_packages("src"),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
package_dir={"": "src"},
include_package_data=True,
install_requires=["requests>=2.22.0", "attrs>=19.1.0"],
extras_require={"pandas": ["pandas>=0.25.0"]},
license="MIT",
zip_safe=False,
keywords="tdam_api tdameritrade api trading stocks options",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
],
)