-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
90 lines (86 loc) · 2.64 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 = {}
# pylint: disable=C0330
with open(path.join(
path.dirname(__file__),
"umbr_api",
"__about__.py",
)) as py_file:
# pylint: disable=W0122
exec(py_file.read(), ABOUT)
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.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
],
keywords="cisco umbrella opendns security",
packages=["umbr_api"],
install_requires=[
"requests >= 2.18",
"logzero >= 1.3.1",
"keyring >= 11.0.0",
],
extras_require={
"dev": [
"coverage>=4.5.1",
"pytest>=3.4.1",
"setuptools>=38.5.1",
"twine>=1.9.1",
],
"doc": [
"Sphinx>=1.7.1",
"sphinx_rtd_theme>=0.2.4",
],
"dev_lint": [
"autopep8>=1.3.4",
"pep257>=0.7.0",
"pycodestyle>=2.3.1",
"pydocstyle>=2.1.1",
"pylint>=1.8.2",
],
},
package_data={
"umbr_api": ["data/customer_key_example.json"],
},
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"],
)