Hmm...
python-setuptools package is heavily patched to work with debian/ubuntu python 2.6 installation.
I guess that this part of python-setuptools_0.6c9-0ubuntu3.diff.gz should be "ported" to all setuptools eggs that are bundled with python-virtualenv/virtualenv tarballs..
--- python-setuptools-0.6c9.orig/setuptools/command/easy_install.py
+++ python-setuptools-0.6c9/setuptools/command/easy_install.py
@@ -1105,15 +1105,26 @@
Hmm...
python-setuptools package is heavily patched to work with debian/ubuntu python 2.6 installation.
I guess that this part of python- setuptools_ 0.6c9-0ubuntu3. diff.gz should be "ported" to all setuptools eggs that are bundled with python- virtualenv/ virtualenv tarballs.. setuptools- 0.6c9.orig/ setuptools/ command/ easy_install. py setuptools- 0.6c9/setuptool s/command/ easy_install. py
--- python-
+++ python-
@@ -1105,15 +1105,26 @@
- INSTALL_SCHEMES = dict( lib/python$ py_version_ short/site- packages' , local/lib/ python$ py_version_ short/site- packages' , local/lib/ python$ py_version_ short/dist- packages' ,
+ if sys.version[:3] in ('2.3', '2.4', '2.5'):
+
+ INSTALL_SCHEMES = dict(
posix = dict(
- install_dir = '$base/
- script_dir = '$base/bin',
+ install_dir = '$base/
+ script_dir = '$base/local/bin',
),
- )
+ )
+
+ else:
+
+ INSTALL_SCHEMES = dict(
+ posix = dict(
+ install_dir = '$base/
+ script_dir = '$base/local/bin',
+ ),
+ )
DEFAULT_SCHEME = dict( Lib/site- packages' , Lib/dist- packages' ,
- install_dir = '$base/
+ install_dir = '$base/
script_dir = '$base/Scripts',
)
@@ -1157,10 +1168,18 @@
sitedirs. append( os.path. join(prefix, "Lib", "site-packages")) extend( [os.path. join(prefix, extend( [os.path. join(prefix, join(prefix,
"lib",
"python" + sys.version[:3],
os.path. join(prefix, "lib", "site-python")])
sitedirs. extend(
if sys.platform in ('os2emx', 'riscos'):
elif os.sep == '/':
- sitedirs.
+ if sys.version[:3] in ('2.3', '2.4', '2.5'):
+ sdir = "site-packages"
+ else:
+ sdir = "dist-packages"
+ sitedirs.
+ "local/lib",
+ "python" + sys.version[:3],
+ sdir),
+ os.path.
- "site-packages"),
+ sdir),
else:
I'll try to mess with it in next few hours after I'm back at home if no one else fix it in the meantime..