-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
74 lines (69 loc) · 2.25 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
65
66
67
68
69
70
71
72
73
74
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", "code42cli", "__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="code42cli",
version=about["__version__"],
url="https://github.com/code42/py42",
project_urls={
"Issue Tracker": "https://github.com/code42/code42cli/issues",
"Documentation": "https://clidocs.code42.com/",
"Source Code": "https://github.com/code42/code42cli",
},
description="The official command line tool for interacting with Code42",
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.2, <4",
install_requires=[
"chardet",
"click>=7.1.1",
"click_plugins>=1.1.1",
"colorama>=0.4.3",
"keyring==18.0.1",
"keyrings.alt==3.2.0",
"ipython>=7.16.3;python_version<'3.8'",
"ipython>=8.10.0;python_version>='3.8'",
"pandas>=1.1.3",
"py42>=1.26.0",
"setuptools>=66.0.0",
],
extras_require={
"dev": [
"flake8>=4.0.0",
"pytest==4.6.11",
"pytest-cov==2.10.0",
"pytest-mock==2.0.0",
"tox>=3.17.1",
"importlib-metadata<5.0",
],
"docs": [
"sphinx==4.4.0",
"myst-parser==0.16",
"sphinx_rtd_theme==1.0.0",
"sphinx-click",
],
},
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 :: Implementation :: CPython",
],
entry_points={"console_scripts": ["code42=code42cli.main:cli"]},
)