forked from dgvncsz0f/pydhcplib
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·36 lines (32 loc) · 1.45 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
#!/usr/bin/env python2.5
from distutils.core import setup
from distutils.core import Extension
fr8_manpages = ['man/fr/man8/pydhcp.8.gz']
fr3_manpages = ['man/fr/man3/pydhcplib.3.gz',
'man/fr/man3/pydhcplib.DhcpBasicPacket.3.gz',
'man/fr/man3/pydhcplib.DhcpPacket.3.gz',
'man/fr/man3/pydhcplib.hwmac.3.gz',
'man/fr/man3/pydhcplib.ipv4.3.gz',
'man/fr/man3/pydhcplib.strlist.3.gz']
en3_manpages = ['man/man3/pydhcplib.strlist.3.gz',
'man/man3/pydhcplib.3.gz',
'man/man3/pydhcplib.ipv4.3.gz']
en8_manpages = ['man/man8/pydhcp.8.gz']
rawsocketmod = Extension( "pydhcplib._rawsocket",
sources = ["networking/rawsocket.c", "networking/rawsocketmod.c"]
)
setup(name='pydhcplib',
version = "0.6.2",
license = "GPL v3",
description = "Dhcp client/server library",
author = "Mathieu Ignacio, Diego Souza",
author_email = "[email protected]",
url = "http://github.com/dgvncsz0f/pydhcplib",
packages = ["pydhcplib"],
scripts = ["scripts/pydhcp"],
ext_modules = [rawsocketmod],
data_files = [("share/man/man8",en8_manpages),
# ("share/man/fr/man8",fr8_manpages),
("share/man/fr/man3",fr3_manpages),
("share/man/man3",en3_manpages)
])