-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
43 lines (39 loc) · 1.36 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
"""setup.py file."""
import uuid
from setuptools import setup, find_packages
try:
# pip >=20
from pip._internal.network.session import PipSession
from pip._internal.req import parse_requirements
except ImportError:
try:
# 10.0.0 <= pip <= 19.3.1
from pip._internal.download import PipSession
from pip._internal.req import parse_requirements
except ImportError:
# pip <= 9.0.3
from pip.download import PipSession
from pip.req import parse_requirements
__author__ = 'Andreas Thienemann <[email protected]>'
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-procurve",
version="0.7.0",
packages=find_packages(),
author="Andreas Thienemann",
author_email="[email protected]",
description="Network Automation and Programmability Abstraction Layer (NAPALM) ProCurve driver",
long_description="ProCurve driver support for Napalm network automation.",
classifiers=[
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
url="https://github.com/ixs/napalm-procurve",
include_package_data=True,
zip_safe=False,
install_requires=reqs,
)