-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
83 lines (68 loc) · 2.37 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
"""
Setup script for dhcpkit_vpp
"""
import os
from setuptools import find_packages, setup
import dhcpkit_vpp
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(filename):
"""
Read the contents of a file
:param filename: the file name relative to this file
:return: The contents of the file
"""
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='dhcpkit_vpp',
version=dhcpkit_vpp.__version__,
description='DHCPKit extension to use it from VPP',
long_description=read('README.rst'),
keywords='dhcp server ipv6 vpp',
url='https://github.com/sjm-steffann/dhcpkit_vpp',
license='GPLv3',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet',
'Topic :: System :: Networking',
'Topic :: System :: Systems Administration',
],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
entry_points={
'dhcpkit.ipv6.server.extensions': [
# Listeners
'listen-vpp = dhcpkit_vpp.listeners.vpp',
],
'dhcpkit_vpp.protocols.layer3': [
'34525 = dhcpkit_vpp.protocols.layer3:IPv6',
],
'dhcpkit_vpp.protocols.layer4': [
'17 = dhcpkit_vpp.protocols.layer4:UDP',
]
},
install_requires=[
'dhcpkit > 1.0.4',
'cffi',
],
test_suite='dhcpkit_vpp.tests',
author='Sander Steffann',
author_email='[email protected]',
zip_safe=False,
)