[Distutils] pypi and easy_install

Giampaolo Rodola' billiejoex at gmail.com
Thu Dec 20 02:09:58 CET 2007


Hi,
I noticed tonight that I can't download/install a package of mine
hosted on pypi by using easy_install.
By running "ez_setup.py pyftpdlib" I get:

--- snippet --
options (after parsing config files):
no commands known yet
options (after parsing command line):
option dict for 'aliases' command:
  {}
option dict for 'easy_install' command:
  {'args': ('command line', ['pyftpdlib']), 'verbose': ('command
line', 1)}
Searching for pyftpdlib
Reading http://pypi.python.org/simple/pyftpdlib/
Reading http://code.google.com/p/pyftpdlib/
No local packages or download links found for pyftpdlib
Traceback (most recent call last):
  File "C:\Documents and Settings\billiejoex\Desktop\ez_setup.py",
line 229, in
<module>
    main(sys.argv[1:])
  File "C:\Documents and Settings\billiejoex\Desktop\ez_setup.py",
line 187, in
main
    main(argv)
  File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg
\setuptools\comm
and\easy_install.py", line 1670, in main
  File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg
\setuptools\comm
and\easy_install.py", line 1659, in with_ei_usage
  File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg
\setuptools\comm
and\easy_install.py", line 1674, in <lambda>
  File "C:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg
\setuptools\comm
and\easy_install.py", line 211, in run
  File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg
\setuptools\comm
and\easy_install.py", line 440, in easy_install
distutils.errors.DistutilsError: Could not find suitable distribution
for Requir
ement.parse('pyftpdlib')
--- /snippet --


I noticed the following lines:

> Searching for pyftpdlib
> Reading http://pypi.python.org/simple/pyftpdlib/
> Reading http://code.google.com/p/pyftpdlib/
> No local packages or download links found for pyftpdlib


...which are very weird since, as you can see by looking here:
http://pypi.python.org/pypi/pyftpdlib/0.2.0
...I provided a download url and easy_install SHOULD know where to get
the package.
Could someone point me in the right direction?


More information about the Distutils-SIG mailing list