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
|
from distutils.core import setup, Extension
setup(
name = "python-dmidecode",
version = "2.10.5",
description = "Python extension module for dmidecode",
author = "Nima Talebi",
author_email = "nima@autonomy.net.au",
url = "http://projects.autonomy.net.au/dmidecode/",
ext_modules = [
Extension(
"dmidecode",
sources = [
"src/dmidecodemodule.c",
"src/dmihelper.c",
"src/util.c",
"src/dmioem.c",
"src/dmidecode.c",
"src/dmixml.c",
"src/xmlpythonizer.c"
],
include_dirs = [ "/usr/include/libxml2" ],
library_dirs = [ "/home/nima/dev-room/projects/dmidecode" ],
libraries = [ "util", "xml2" ],
#libraries = [ "util", "efence" ],
)
]
)
|