-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·52 lines (45 loc) · 1.48 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
from setuptools import setup, find_packages
import os
import re
requires = [
"boto3",
"prance",
"requests",
"aws_requests_auth",
"openapi-spec-validator==0.2.9",
]
ROOT = os.path.dirname(__file__)
VERSION_RE = re.compile(r"""__version__ = ['"]([0-9.]+)['"]""")
def get_version():
init = open(os.path.join(ROOT, "staxapp", "__init__.py")).read()
return VERSION_RE.search(init).group(1)
setup(
name="staxapp",
version=get_version(),
description="Stax Python SDK",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://stax.io",
author="Stax",
author_email="support@stax.io",
license="Apache License 2.0",
packages=find_packages(exclude=["docs", "tests*"]),
install_requires=requires,
include_package_data=True,
package_data={"staxapp": ["data/*.json"]},
zip_safe=False,
python_requires=">=3.6",
project_urls={"GitHub": "https://github.com/stax-labs/lib-stax-python-sdk"},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)