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
|
#!/usr/bin/env python
import sys
import string
def howto_install_setuptools():
print """Error: You need setuptools Python package!
It's very easy to install it, just type (as root on Linux):
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
"""
try:
from setuptools import setup
except ImportError:
for arg in sys.argv:
if string.find(arg, 'egg') != -1:
howto_install_setuptools()
sys.exit(1)
from distutils.core import setup
setup(name = 'pysnmp',
version = '4.1.14a',
description = 'SNMP framework',
author = 'Ilya Etingof',
author_email = 'ilya@glas.net',
url = 'http://sourceforge.net/projects/pysnmp/',
license='BSD',
requires = [ 'pyasn1' ],
provides = [ 'pysnmp' ],
packages = [ 'pysnmp',
'pysnmp.smi',
'pysnmp.smi.mibs',
'pysnmp.smi.mibs.instances',
'pysnmp.carrier',
'pysnmp.carrier.asynsock',
'pysnmp.carrier.asynsock.dgram',
'pysnmp.carrier.twisted',
'pysnmp.carrier.twisted.dgram',
'pysnmp.entity',
'pysnmp.entity.rfc3413',
'pysnmp.entity.rfc3413.oneliner',
'pysnmp.entity.rfc3413.twisted',
'pysnmp.proto',
'pysnmp.proto.mpmod',
'pysnmp.proto.secmod',
'pysnmp.proto.secmod.rfc3414',
'pysnmp.proto.secmod.rfc3414.auth',
'pysnmp.proto.secmod.rfc3414.priv',
'pysnmp.proto.secmod.rfc3826',
'pysnmp.proto.secmod.rfc3826.priv',
'pysnmp.proto.acmod',
'pysnmp.proto.proxy',
'pysnmp.proto.api' ],
scripts = [ 'tools/libsmi2pysnmp',
'tools/build-pysnmp-mib' ]
)
|