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
|
from distutils.core import setup, Extension
setup(
name = "python-dmidecode",
version = "3.10.6",
license='GPL-2',
description = "Python extension module for dmidecode",
author = "Nima Talebi & David Sommerseth",
author_email = "nima@it.net.au, davids@redhat.com",
url = "http://projects.autonomy.net.au/python-dmidecode/",
data_files = [ ('share/python-dmidecode', ['src/pymap.xml']) ],
ext_modules = [
Extension(
"dmidecodemodule",
sources = [
"src/dmidecodemodule.c",
"src/util.c",
"src/dmioem.c",
"src/dmidecode.c",
"src/dmixml.c",
"src/dmierror.c",
"src/xmlpythonizer.c"
],
include_dirs = [ "/usr/include/libxml2" ],
library_dirs = [ "/home/nima/dev-room/projects/dmidecode", "/usr/lib64/python2.5/site-packages"],
libraries = [ "util", "xml2", "xml2mod" ]
)
],
py_modules = [ "dmidecode" ]
)
|