-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (48 loc) · 1.78 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
#!/usr/bin/python
from distutils.core import setup
from pymnl.tests.testcommand import test
def get_version():
version_file = open("docs/VERSION")
try:
version = version_file.readline()
finally:
version_file.close()
return version[:-1]
setup(
name = "pymnl",
version = get_version(),
author = "Sean Robinson",
author_email = "seankrobinson@gmail.com",
maintainer_email = "pymnl-dev@lists.tuxfamily.org",
description = """
pymnl (rhymes with hymnal) is a pure Python re-implmentation of libmnl and
provides a minimal, object-oriented interface to Linux Netlink sockets and
messages.""",
url = "http://pymnl.wikispot.org/",
packages = ['pymnl', 'pymnl.tests'],
provides = ['pymnl'],
platforms = "Linux",
license = "LGPL for module; GPL for example scripts",
keywords = "Netlink genl rtnl socket",
download_url = "https://pymnl.tuxfamily.org",
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Topic :: System',
],
cmdclass={'test': test},
)