[Distutils] easy_install unable to install from sourceforge?

oliver oliver.schoenborn at gmail.com
Sun Dec 18 06:07:47 CET 2011


Hartmut, thanks for reply. However that is not the problem; look:

C:\Documents and Settings\schoenb\My Documents\Downloads>easy_install -U
pypubsub
Searching for pypubsub
Reading http://pypi.python.org/simple/pypubsub/
Reading http://pubsub.wiki.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=197063
Reading http://pubsub.sourceforge.net
Reading http://sourceforge.net/projects/pubsub/files/pubsub/3.1.1b1/
Reading http://downloads.sourceforge.net/pubsub
Best match: PyPubSub 3.1.1b1
Downloading
http://sourceforge.net/projects/pubsub/files/pubsub/3.1.1b1/PyPubSub-3.1.1b1-py2.6.egg/download
Processing download
error: Couldn't find a setup script in
c:\docume~1\schoenb\locals~1\temp\easy_install-m52ynu\download


Now the same file, after downloading manually:

C:\Documents and Settings\schoenb\My Documents\Downloads>easy_install
"Z:\Documents on Host\PyPubSub-3.1.1b1-py2.6.egg"
Processing PyPubSub-3.1.1b1-py2.6.egg
creating c:\python26\lib\site-packages\PyPubSub-3.1.1b1-py2.6.egg
Extracting PyPubSub-3.1.1b1-py2.6.egg to c:\python26\lib\site-packages
Adding PyPubSub 3.1.1b1 to easy-install.pth file

Installed c:\python26\lib\site-packages\pypubsub-3.1.1b1-py2.6.egg
Processing dependencies for PyPubSub==3.1.1b1
Finished processing dependencies for PyPubSub==3.1.1b1


So easy_install is unable to process what it gets from sourceforge. Again,
if I upload that same file to pypi, easy_install will succeed:

C:\Documents and Settings\schoenb\My Documents\Downloads>easy_install
http://pypi.python.org/packages/2.6/P/PyPubSub/PyPubSub-3.1.1b1-py2.6.egg
Downloading
http://pypi.python.org/packages/2.6/P/PyPubSub/PyPubSub-3.1.1b1-py2.6.egg
Processing PyPubSub-3.1.1b1-py2.6.egg
creating c:\python26\lib\site-packages\PyPubSub-3.1.1b1-py2.6.egg
Extracting PyPubSub-3.1.1b1-py2.6.egg to c:\python26\lib\site-packages
Adding PyPubSub 3.1.1b1 to easy-install.pth file

Installed c:\python26\lib\site-packages\pypubsub-3.1.1b1-py2.6.egg
Processing dependencies for PyPubSub==3.1.1b1
Finished processing dependencies for PyPubSub==3.1.1b1


The following also works:

C:\Documents and Settings\schoenb\My Documents\Downloads>easy_install "
https://downloads.sourceforge.net/project/pubsub/pubsub/3.1.1b1/PyPubSub-3.1.1b
1-py2.6.egg"
Downloading
https://downloads.sourceforge.net/project/pubsub/pubsub/3.1.1b1/PyPubSub-3.1.1b1-py2.6.egg
Processing PyPubSub-3.1.1b1-py2.6.egg
removing 'c:\python26\lib\site-packages\PyPubSub-3.1.1b1-py2.6.egg' (and
everything under it)
creating c:\python26\lib\site-packages\PyPubSub-3.1.1b1-py2.6.egg
Extracting PyPubSub-3.1.1b1-py2.6.egg to c:\python26\lib\site-packages
PyPubSub 3.1.1b1 is already the active version in easy-install.pth

Installed c:\python26\lib\site-packages\pypubsub-3.1.1b1-py2.6.egg
Processing dependencies for PyPubSub==3.1.1b1
Finished processing dependencies for PyPubSub==3.1.1b1


So again, the main issue is that "easy_install pypubsub" is unable to
process what it obtains from
http://sourceforge.net/projects/pubsub/files/pubsub/3.1.1b1/PyPubSub-3.1.1b1-py2.6.egg/download,
but it is able to process PyPubSub-3.1.1b1-py2.6.egg when obtained several
other ways.

Oliver

On Fri, Dec 16, 2011 at 7:26 AM, Hartmut Goebel
<h.goebel at goebel-consult.de>wrote:

> **
> Am 14.12.2011 22:30, schrieb oliver:
>
>
>  Downloading
> http://sourceforge.net/projects/pubsub/files/pubsub/3.1.1b1/PyPubSub-3.1.1b1.win32.zip/download
> Processing download
> error: Couldn't find a setup script in
> c:\docume~1\schoenb\locals~1\temp\easy_install-sa7vdr\download
>
>   This file is an egg, but has the wrong extension (.zip). Hus
> easy_install thinks, this is a source archive. You need to mkae the pysub
> maintainers fixing it.
>
> --
> Schönen Gruß - Regards
> Hartmut Goebel
> Dipl.-Informatiker (univ.), CISSP, CSSLP
>
> Goebel Consult
> Spezialist für IT-Sicherheit in komplexen Umgebungenhttp://www.goebel-consult.de
>
> Monatliche Kolumne: http://www.cissp-gefluester.de/
> Goebel Consult ist Mitglied bei http://www.7-it.de
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20111218/b99df0bc/attachment.html>


More information about the Distutils-SIG mailing list