forked from networktocode/pyntc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.43 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
from setuptools import find_packages, setup
import sys
name = 'pyntc'
version = '0.0.3'
packages = find_packages()
package_data = {'pyntc': ['templates/*.template', 'devices/tables/jnpr/*.yml']}
install_requires = [
'requests>=2.7.0',
'jsonschema',
'future',
'netmiko',
'paramiko',
'pynxos>=0.0.3',
'coverage',
'mock>=1.3',
'terminal',
]
dependency_links = []
author = 'Network To Code'
author_email = 'ntc@networktocode.com'
url = 'https://github.com/networktocode/pyntc'
download_url = 'https://github.com/networktocode/pyntc/tarball/master'
description = 'A multi-vendor library for managing network devices.'
if sys.version_info.major >= 3:
install_requires.append('textfsm==1.0.1')
install_requires.append('pyeapi==9.9.9')
dependency_links.append(
'https://github.com/jonathanslenders/textfsm/tarball/master#egg=textfsm-1.0.1'
)
dependency_links.append(
'https://github.com/arista-eosplus/pyeapi/tarball/develop#egg=pyeapi-9.9.9'
)
else:
install_requires.append('gtextfsm')
install_requires.append('pyeapi')
install_requires.append('junos-eznc')
setup(name=name,
version=version,
packages=packages,
package_data=package_data,
install_requires=install_requires,
dependency_links=dependency_links,
url=url,
download_url=download_url,
author=author,
author_email=author_email,
description=description,
)