[Distutils] easy_install fails on sourceforge?
Hartmut Goebel
h.goebel at goebel-consult.de
Sun Jun 28 19:57:28 CEST 2009
P.J. Eby schrieb:
> Using that as a find-link works fine for me; it downloads the 0.9 source
> package, since I don't have Python 2.6. (The windows files shown there
> are all for Python 2.6.)
So my explanation has bee a bit short, I see.
This is not what I want. Esp. the source is not found at sourceforge but
via pypi :-)
Try without using an index. I would expect to get
pyOpenSSL-0.8.winxp32-py2.5.exe from SF, but is is not found:
easy_install -i file://NUL -f
'http://sourceforge.net/project/showfiles.php?group_id=31249&package_id=90289'
pyOpenSSL==0.8
I use the following script for testing. Setting loglevel to 5 would
report any link found, but in this case no link is reported (and package
is found).
....8<-------------
from setuptools.command import easy_install
from distutils import log
log.set_verbosity(5) # this would print any found link
args = """
-i file://NUL
-f
http://sourceforge.net/project/showfiles.php?group_id=31249&package_id=90289
pyOpenSSL==0.8""".split()
easy_install.main(args)
....8<-------------
--
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP
Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4732 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090628/4cb8f867/attachment.bin>
More information about the Distutils-SIG
mailing list