At 02:09 AM 12/20/2007 +0100, Giampaolo Rodola' wrote:
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/
That's because your download URL points to http://pyftpdlib.googlecode.com/files/pyftpdlib_0.2.0.tar.gz, which is not a valid distutils-generated filename. (A valid filename for pytftpdblib, version 0.2.0, would be pyftpdlib-0.2.0.tar.gz.) You need to use "setup.py sdist" to generate your source distribution, then it will have the right filename. (You'll also be able to use "setup.py sdist upload" to upload it to PyPI in that case.)