-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
64 lines (59 loc) · 1.88 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
63
64
from codecs import open
from os import path
from setuptools import find_packages
from setuptools import setup
here = path.abspath(path.dirname(__file__))
about = {}
with open(path.join(here, "src", "py42", "__version__.py"), encoding="utf8") as fh:
exec(fh.read(), about)
with open(path.join(here, "README.md"), "r", "utf-8") as f:
readme = f.read()
setup(
name="py42",
version=about["__version__"],
url="https://github.com/code42/py42",
project_urls={
"Issue Tracker": "https://github.com/code42/py42/issues",
"Documentation": "https://py42docs.code42.com/",
"Source Code": "https://github.com/code42/py42",
},
description="The Official Code42 Python API Client",
long_description=readme,
long_description_content_type="text/markdown",
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
python_requires=">=3.6, <4",
install_requires=[
"urllib3>=1.26.6,<2",
"requests>=2.25.0",
],
extras_require={
"dev": [
"flake8==3.9.2",
"pytest==6.2.4",
"pytest-cov==2.12.1",
"pytest-mock==3.6.1",
"tox==3.24.0",
],
"docs": [
"sphinx==4.4.0",
"myst-parser==0.17.2",
"sphinx_rtd_theme==1.0.0",
"docutils == 0.16",
],
},
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT 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",
"Programming Language :: Python :: Implementation :: CPython",
],
)