forked from code42/py42
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (52 loc) · 1.82 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
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=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4",
install_requires=["requests>=2.3"],
extras_require={
"dev": [
"flake8==3.8.3",
"pytest==4.6.11",
"pytest-cov==2.10.0",
"pytest-mock==2.0.0",
"tox==3.17.1",
]
},
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
],
)