gpoo@calcifer:~$ easy_install -n -d /home/gpoo/lib/python hgsvn
Creating /home/gpoo/lib/python/site.py
Searching for hgsvn
Best match: hgsvn 0.1.4
Adding hgsvn 0.1.4 to easy-install.pth file
Installing hgimportsvn script to /home/gpoo/lib/python
Installing hgpullsvn script to /home/gpoo/lib/python
Using /home/gpoo/lib/python
Processing dependencies for hgsvn
Finished processing dependencies for hgsvn
However, If I try:
$ easy_install -n -d /home/gpoo/lib/python --upgrade hgsvn
Creating /home/gpoo/lib/python/site.py
Searching for hgsvn
Reading http://pypi.python.org/simple/hgsvn/
Best match: hgsvn 0.1.5
Downloading http://pypi.python.org/packages/2.5/h/hgsvn/hgsvn-0.1.5-py2.5.egg#md5=5fccc189bb3c06243a7aaaa89752e347
Processing hgsvn-0.1.5-py2.5.egg
Moving hgsvn-0.1.5-py2.5.egg to /home/gpoo/lib/python
Traceback (most recent call last):
File "/usr/bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c8', 'console_scripts', 'easy_install')()
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1671, in main
with_ei_usage(lambda:
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1659, in with_ei_usage
return f()
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1675, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 619, in install_eggs
return [self.install_egg(dist_filename, tmpdir)]
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 696, in install_egg
return self.egg_distribution(destination)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 661, in egg_distribution
metadata = EggMetadata(zipimport.zipimporter(egg_path))
zipimport.ZipImportError: not a Zip file
If I try:
gpoo@calcifer:~$ easy_install -n -d /home/gpoo/ lib/python hgsvn lib/python/ site.py lib/python lib/python
Creating /home/gpoo/
Searching for hgsvn
Best match: hgsvn 0.1.4
Adding hgsvn 0.1.4 to easy-install.pth file
Installing hgimportsvn script to /home/gpoo/
Installing hgpullsvn script to /home/gpoo/
Using /home/gpoo/ lib/python
Processing dependencies for hgsvn
Finished processing dependencies for hgsvn
However, If I try: lib/python --upgrade hgsvn lib/python/ site.py pypi.python. org/simple/ hgsvn/ pypi.python. org/packages/ 2.5/h/hgsvn/ hgsvn-0. 1.5-py2. 5.egg#md5= 5fccc189bb3c062 43a7aaaa89752e3 47 1.5-py2. 5.egg 1.5-py2. 5.egg to /home/gpoo/ lib/python easy_install" , line 8, in <module> entry_point( 'setuptools= =0.6c8' , 'console_scripts', 'easy_install')() python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 1671, in main ei_usage( lambda: python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 1659, in with_ei_usage python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 1675, in <lambda> DistributionWit houtHelpCommand s, **kw python2. 5/distutils/ core.py" , line 151, in setup run_commands( ) python2. 5/distutils/ dist.py" , line 974, in run_commands run_command( cmd) python2. 5/distutils/ dist.py" , line 994, in run_command python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 211, in run easy_install( spec, not self.no_deps) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 446, in easy_install item(spec, dist.location, tmpdir, deps) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 476, in install_item eggs(spec, download, tmpdir) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 619, in install_eggs egg(dist_ filename, tmpdir)] python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 696, in install_egg distribution( destination) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 661, in egg_distribution zipimport. zipimporter( egg_path) ) ZipImportError: not a Zip file
$ easy_install -n -d /home/gpoo/
Creating /home/gpoo/
Searching for hgsvn
Reading http://
Best match: hgsvn 0.1.5
Downloading http://
Processing hgsvn-0.
Moving hgsvn-0.
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
with_
File "/usr/lib/
return f()
File "/usr/lib/
distclass=
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/usr/lib/
self.
File "/usr/lib/
return self.install_
File "/usr/lib/
dists = self.install_
File "/usr/lib/
return [self.install_
File "/usr/lib/
return self.egg_
File "/usr/lib/
metadata = EggMetadata(
zipimport.