Author: dmeyer
Date: Sun May 20 20:25:30 2007
New Revision: 2677

Modified:
   trunk/metadata/setup.py

Log:
make it work without Python.h

Modified: trunk/metadata/setup.py
==============================================================================
--- trunk/metadata/setup.py     (original)
+++ trunk/metadata/setup.py     Sun May 20 20:25:30 2007
@@ -59,6 +59,13 @@
 except AttributeError:
     print 'The DVD parser will be disabled'
     ext_modules = [ cdrom ]
+
+if not cdrom.has_python_h():
+    print 
"---------------------------------------------------------------------"
+    print "Python headers not found; please install python development 
package."
+    print "Rom drive support will be unavailable"
+    print 
"---------------------------------------------------------------------"
+    ext_modules = [ ]
     
 setup (module      = 'metadata',
        version     = '0.6.2',

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to