forked from pief/python-netsnmpagent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py.in
46 lines (43 loc) · 1.57 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
#!/usr/bin/env python
#
# python-netsnmpagent module
# Copyright (c) 2013 Pieter Hollants <[email protected]>
# Licensed under the GNU Public License (GPL) version 3
#
# Distutils setup script
#
from distutils.core 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 (RFC2747). 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" ],
license = "GPL-3.0",
url = "https://github.com/pief/python-netsnmpagent",
classifiers = [
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries'
],
)