-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (50 loc) · 1.96 KB
/
Copy pathsetup.py
File metadata and controls
57 lines (50 loc) · 1.96 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
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
import os, sys
from setuptools import setup, find_packages
if sys.version_info < (3, 6):
raise NotImplementedError(
"""Nextcode SDK does not support Python versions older than 3.6"""
)
def get_version():
path = os.path.abspath(os.path.join("nextcode", "VERSION"))
with open(path) as version_file:
return version_file.readlines()[0].strip()
with open("README.md", "r") as fh:
long_description = fh.read()
version = get_version()
setup(
name="nextcode-sdk",
version=version,
author="WUXI NextCODE",
description="Python SDK for Wuxi Nextcode Services",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://www.github.com/wuxi-nextcode/nextcode-python-sdk",
packages=find_packages(exclude=["tests"]),
package_data={"nextcode": ["VERSION"]},
install_requires=["python-dateutil", "PyYAML", "requests", "hjson", "PyJWT"],
extras_require={"jupyter": ["pandas", "ipython", "termcolor"]},
include_package_data=True,
entry_points={},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
],
test_suite="tests",
)