-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (51 loc) · 1.31 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
# coding: utf-8
from setuptools import setup, find_packages # noqa: H301
import io
from virl import __version__
NAME = "virlutils"
VERSION = __version__
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = [
"click",
"gunicorn",
"requests>=2.20.0",
"urllib3>=1.23",
"six >= 1.10",
"certifi",
"flask>=0.12.3",
"python-dateutil",
"docopt",
"tabulate",
"pyyaml",
"jinja2",
"lxml",
"virl2_client",
]
test_requirements = [
"requests_mock",
]
def readme():
with io.open("README.md", encoding="utf-8") as f:
return f.read()
setup(
name=NAME,
version=VERSION,
description="A collection of utilities for interacting with Cisco VIRL/CML",
author="Kevin Corbin, Joe Clarke",
url="https://github.com/CiscoDevNet/virlutils",
install_requires=REQUIRES,
entry_points={"console_scripts": ["virl=virl.cli.main:virl", "cml=virl.cli.main:virl"]},
packages=find_packages(),
package_data={"virl": ["templates/**/*.j2", "swagger/templates/*", "swagger/static/*"]},
include_package_data=True,
long_description=readme(),
test_suite="tests",
tests_require=test_requirements,
zip_safe=False,
)