--- a/virtualenv/res/lib/lib_create_env.py Fri Jun 22 20:44:32 2012 +0200
+++ b/virtualenv/res/lib/lib_create_env.py Fri Aug 01 01:07:32 2014 +0200
@@ -133,7 +133,8 @@
if os.path.exists(setuptools_path) and os.path.isdir(setuptools_path):
patch_dest_path = os.path.join(lib_dir, 'site-packages')
else:
- patch_dest_path = os.path.join(lib_dir,'site-packages','setuptools-0.6c11-py%s.%s.egg' % (sys.version_info[0], sys.version_info[1]))
+ #patch_dest_path = os.path.join(lib_dir,'site-packages','setuptools-0.6c11-py%s.%s.egg' % (sys.version_info[0], sys.version_info[1]))
+ patch_dest_path = os.path.join(lib_dir,'site-packages','setuptools')
if os.path.isfile(patch_dest_path):
# must unzip egg
# rename file and etract all
@@ -143,7 +144,7 @@
os.remove(patch_dest_path + ".zip")
logger.notify("Patch jcc : %s " % (patch_dest_path))
os.chdir(patch_dest_path)
- p = patch.fromfile(os.path.join(jcc_src_path,"jcc","patches","patch.43.0.6c11"))
+ p = patch.fromfile(os.path.join(jcc_src_path,"jcc","patches","patch.3.6"))
p.apply()
os.chdir(olddir)