forked from GGabriele/napalm-cumulus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (31 loc) · 1.13 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
"""setup.py file."""
import uuid
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from setuptools import find_packages, setup
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
try:
reqs = [str(ir.req) for ir in install_reqs]
except AttributeError:
reqs = [str(ir.requirement) for ir in install_reqs]
setup(
name="napalm-cumulus",
version="4.0.1",
packages=find_packages(exclude=["test", "test.*"]),
author="Shem Valentine",
description="Network Automation and Programmability Abstraction Layer with Multivendor support",
classifiers=[
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
url="https://source.vivint.com/projects/POPS/repos/napalm-cumulus/browse",
include_package_data=True,
install_requires=reqs,
)