-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathsetup.py.in
49 lines (45 loc) · 1.69 KB
/
setup.py.in
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
#!/usr/bin/env python
#
# python-netsnmpagent module
# Copyright (c) 2013-2019 Pieter Hollants <[email protected]>
# Licensed under the GNU Lesser Public License (LGPL) version 3
#
# Distutils setup script
#
from setuptools import setup
try:
import ctypes
except:
print("netsnmpagent requires the ctypes Python module!")
import sys
sys.exit(1)
setup(
name = "netsnmpagent",
version = "@NETSNMPAGENT_VERSION@",
description = "Facilitates writing Net-SNMP (AgentX) subagents in Python",
long_description = """
python-netsnmpagent is a Python module that facilitates writing Net-SNMP
subagents in Python. Subagents connect to a locally running Master agent
(snmpd) over a Unix domain socket (eg. "/var/run/agentx/master") and using the
AgentX protocol (RFC2741). They implement custom Management Information Base
(MIB) modules that extend the local node's MIB tree. Usually, this requires
writing a MIB as well, ie. a text file that specifies the structure, names
and data types of the information within the MIB module.""",
author = "Pieter Hollants",
author_email = "[email protected]",
py_modules = [ "netsnmpagent", "netsnmpapi", "netsnmpvartypes" ],
license = "LGPL-3.0",
url = "https://github.com/pief/python-netsnmpagent",
classifiers = [
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries'
],
)