sbin/virtualenv/create_python_env.py
changeset 47 699be5c7b4ac
parent 37 cec4b9fc8997
child 60 a8ad7ebf5902
--- a/sbin/virtualenv/create_python_env.py	Sat Sep 11 01:18:28 2010 +0200
+++ b/sbin/virtualenv/create_python_env.py	Mon Sep 13 10:32:10 2010 +0200
@@ -234,7 +234,7 @@
         
         
         NORMAL_INSTALL = [ #(key,method, option_str, extra_env)
-            ('LXML', 'easy_install', None, {'STATIC_DEPS': 'true'}),
+            #('LXML', 'easy_install', None, {'STATIC_DEPS': 'true'}),
             ('PSYCOPG2', 'pip', None, None),
             ('MYSQL', 'pip', None, None),
             ('PIL', 'pip', None, None), 
@@ -243,6 +243,11 @@
             ('DJANGO-EXTENSIONS', 'pip', None, None),
             ('DJANGO-REGISTRATION', 'easy_install', '-Z', None),
             ]
+            
+        if system_str == "Darwin":
+            NORMAL_INSTALL.append(('LXML', 'easy_install', None, {'STATIC_DEPS': 'true'}))
+        else:
+            NORMAL_INSTALL.append(('LXML', 'easy_install', None, None))
         
             
         for key, method, option_str, extra_env in NORMAL_INSTALL: