forked from vincentbernat/wiremaps
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (44 loc) · 1.83 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
import sys
import twisted
from distutils.core import setup, Extension
from wiremaps import VERSION
def refresh_plugin_cache():
from twisted.plugin import IPlugin, getPlugins
list(getPlugins(IPlugin))
if __name__ == "__main__":
setup(name="wiremaps",
version=VERSION,
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: No Input/Output (Daemon)',
'Environment :: Web Environment',
'Framework :: Twisted',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: System :: Networking',
],
url='https://github.com/vincentbernat/wiremaps',
description='layer 2 network discovery application',
author='Vincent Bernat',
author_email="[email protected]",
ext_modules= [
Extension('wiremaps.collector.snmp',
libraries = ['netsnmp', 'crypto'],
sources= ['wiremaps/collector/snmp.c']),
],
packages=["wiremaps",
"wiremaps.collector",
"wiremaps.collector.equipment",
"wiremaps.collector.helpers",
"wiremaps.web",
"wiremaps.core",
"twisted.plugins"],
package_data={'twisted': ['plugins/wiremaps_plugin.py'],
'wiremaps.web': ["static/*.png", "static/*.gif",
"static/*.css", "static/*.js",
"main.xhtml",
"images/1.*.png", "images/unknown.png"],},
)
# refresh_plugin_cache()