forked from polygon-io/client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (34 loc) · 1.03 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import sys
version = os.getenv("VERSION")
if not version:
print("no version supplied")
sys.exit(1)
def get_readme_md_contents():
"""read the contents of your README file"""
with open("README.md", encoding='utf-8') as f:
long_description = f.read()
return long_description
setup(
name="polygon-api-client",
version=version,
description="Polygon API client",
long_description=get_readme_md_contents(),
long_description_content_type="text/markdown",
author_email="[email protected]",
url="https://github.com/polygon-io/client-python",
packages=find_packages(),
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Office/Business :: Financial :: Investment"
],
install_requires=[
"websocket-client>=0.56.0",
"websockets>=8.0.2",
"requests>=2.22.0"
]
)