correct installation for linux V00.04
authorymh <ymh.work@gmail.com>
Tue, 03 May 2011 00:01:37 +0200
changeset 81 c6f9843db895
parent 80 c1de7aaab6ce
child 82 f8d77e53f7c2
correct installation for linux
virtualenv/res/lib/lib_create_env.py
--- a/virtualenv/res/lib/lib_create_env.py	Mon May 02 17:07:26 2011 +0200
+++ b/virtualenv/res/lib/lib_create_env.py	Tue May 03 00:01:37 2011 +0200
@@ -99,7 +99,7 @@
     pass
 
 
-def install_pylucene(option_str, extra_env, res_source_key, home_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop):
+def install_pylucene(option_str, extra_env, res_source_key, home_dir, lib_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop):
     
     logger.notify("Get Pylucene from %s " % res_env.URLS['PYLUCENE'][res_source_key])
     pylucene_src = os.path.join(src_dir,"pylucene.tar.gz")
@@ -188,7 +188,7 @@
                     show_stdout=True)
     
 
-def install_psycopg2(option_str, extra_env, res_source_key, home_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop):
+def install_psycopg2(option_str, extra_env, res_source_key, home_dir, lib_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop):
     psycopg2_src = os.path.join(src_dir,"psycopg2.zip")
     shutil.copy(res_env.URLS['PSYCOPG2'][res_source_key], psycopg2_src)
     #extract psycopg2
@@ -278,7 +278,7 @@
             for key, method, option_str, extra_env in res_env.NORMAL_INSTALL:
                 if key not in ignore_packages:
                     if callable(method):
-                        method(option_str, extra_env, res_source_key, home_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop)
+                        method(option_str, extra_env, res_source_key, home_dir, lib_dir, tmp_dir, src_dir, res_env, logger, call_subprocess, filter_python_develop)
                     else:
                         normal_install(key, method, option_str, extra_env, res_source_key, home_dir, tmp_dir, res_env, logger, call_subprocess)