-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
90 lines (83 loc) · 2.74 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python3
"""umbr_api setup script."""
from os import path
from setuptools import setup
with open(path.join(path.dirname(__file__), "README.rst")) as read_file:
LONG_DESCRIPTION = read_file.read()
ABOUT = {}
with open(
path.join(path.dirname(__file__), "umbr_api", "__about__.py")
) as py_file:
exec(py_file.read(), ABOUT) # nosec # pylint: disable=exec-used
setup(
name=ABOUT["__title__"],
version=ABOUT["__version__"],
description=ABOUT["__summary__"],
long_description=LONG_DESCRIPTION,
url=ABOUT["__uri__"],
author=ABOUT["__author__"],
author_email=ABOUT["__email__"],
platforms="Darwin",
license=ABOUT["__license__"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: System Administrators",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: Security",
"Topic :: Utilities",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
],
keywords="cisco umbrella opendns security",
packages=["umbr_api"],
install_requires=[
"requests >= 2.21.0",
"logzero >= 1.5.0",
"keyring >= 17.1.1",
"tabulate >= 0.8.2",
],
extras_require={
"dev": [
"coverage>=4.5.2",
"pytest>=4.0.0",
"setuptools>=40.2.0",
"twine>=1.12.0",
],
"doc": ["Sphinx>=1.8.0", "sphinx_rtd_theme>=0.4.2"],
"lint_dev": [
"pep257>=0.7.0",
"pycodestyle>=2.4.0",
"pydocstyle>=3.0.0",
"pylint>=2.2.2",
"black>=19.3b0",
],
"lint_opt": [
"bandit>=1.5.1",
"isort>=4.3.4",
"flake8>=3.6.0",
"safety>=1.8.4",
"check-manifest>=0.37.0",
"pyroma>=2.4.0",
],
},
package_data={"umbr_api": ["data/*_example.json", "data/umbrella.jpg"]},
entry_points={"console_scripts": ["umbrella=umbr_api.umbrella:main"]},
project_urls={
"Cisco Umbrella": "https://umbrella.cisco.com/",
"Cisco Umbrella Enforcement API": "https://docs.umbrella.com/"
"developer/enforcement-api/",
},
setup_requires=["pytest-runner"],
tests_require=["pytest"],
zip_safe=True,
)