Author: damoxc

Revision: 5220

Log:
        change so INCLUDEDIR not existing in the env won't throw an error

Diff:
Modified: trunk/setup.py
===================================================================
--- trunk/setup.py      2009-04-30 16:15:36 UTC (rev 5219)
+++ trunk/setup.py      2009-04-30 16:17:50 UTC (rev 5220)
@@ -134,7 +134,7 @@
         '/usr/include/python' + python_version,
         sysconfig.get_config_var("INCLUDEDIR")
         ]
-    for include in os.environ["INCLUDEDIR"].split(":"):
+    for include in os.environ.get("INCLUDEDIR", "").split(":"):
         _include_dirs.append(include)
 
     _library_dirs += [sysconfig.get_config_var("LIBDIR"), '/opt/local/lib']



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to