-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
63 lines (58 loc) · 1.84 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
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==8.1.3",
"myst-parser==4.0.0",
"sphinx_rtd_theme==3.0.2",
"docutils == 0.21.2",
],
},
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
],
)