diff options
author | Nima Talebi <nima@autonomy.net.au> | 2009-05-23 14:37:01 +1000 |
---|---|---|
committer | Nima Talebi <nima@autonomy.net.au> | 2009-05-23 14:37:01 +1000 |
commit | a18a72fab2a622077d5257003b09be30ab283339 (patch) | |
tree | 6325f80f94bea1cba7f1018a58d8a3f4826606e3 /src/setup.py | |
parent | 90c5bac90b3366b897d7c34a4bba2a31e608b62c (diff) | |
download | python-dmidecode-a18a72fab2a622077d5257003b09be30ab283339.tar.gz python-dmidecode-a18a72fab2a622077d5257003b09be30ab283339.tar.xz python-dmidecode-a18a72fab2a622077d5257003b09be30ab283339.zip |
More cleanup
Don't write to stdout unless in debug mode (with respect to writing
to memory devices.
Added the xml datafile to setup (distutils).
Updated test case (incorporating color and cleaning up tests).
Diffstat (limited to 'src/setup.py')
-rw-r--r-- | src/setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/setup.py b/src/setup.py index ded7db4..f9904af 100644 --- a/src/setup.py +++ b/src/setup.py @@ -8,6 +8,7 @@ setup( 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/pythonmap.xml']) ], ext_modules = [ Extension( "dmidecode", @@ -22,8 +23,7 @@ setup( ], include_dirs = [ "/usr/include/libxml2" ], library_dirs = [ "/home/nima/dev-room/projects/dmidecode" ], - libraries = [ "util", "xml2" ], - data_files = [ ('share/python-dmidecode', ['src/pythonmap.xml']) ] + libraries = [ "util", "xml2" ] ) ] ) |