Comment 2 for bug 225027

Revision history for this message
Germán Poo-Caamaño (gpoo) wrote :

If I try:

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