[Twisted-Python] Twisted 9.0.0?

Žiga Seilnacht ziga.seilnacht at gmail.com
Thu Mar 4 14:54:11 EST 2010


Glyph Lefkowitz wrote:
> On Mar 4, 2010, at 7:59 AM, Jonathan Lange wrote:
>> On Thu, Mar 4, 2010 at 10:45 AM, Mark van Lent 
>> <m.van.lent at zestsoftware.nl> wrote:
>>> Hi everyone! I am a bit puzzled about the way new version of
>>> Twisted is released. Or better: the way the old version seems to
>>> be taken out of service. Last weeks I've been developing agains
>>> version Twisted 9.0.0. Yesterday I wanted to deploy my code to my
>>> production server, but to my surprise I could not easy_install
>>> that version anymore: $ easy_install Twisted==9.0.0 Searching for
>>> Twisted==9.0.0 Reading http://pypi.python.org/simple/Twisted/ 
>>> Reading http://www.twistedmatrix.com Reading
>>> http://twistedmatrix.com/products/download Reading
>>> http://twistedmatrix.com/projects/core/ Reading
>>> http://twistedmatrix.com/ No local packages or download links
>>> found for Twisted==9.0.0 Best match: None (Okay, actually I'm
>>> using buildout to setup my environment, but the above 
>>> demonstrates my problem more clearly.) I'm sure the new version
>>> of Twisted is better and improved but I still wonder why version
>>> 9.0.0 has effectively been decommissioned. Or am I missing
>>> something and is it still possible to easy_install version 9.0.0?
>>> 
>> 
>> It's an oversight.
> 
> I think it's actually a bug in easy_install, or at least a
> mis-design.
> 
> To make something easy_installable, you don't provide structured
> information in PyPI; there may be a way to do that, but most packages
> I've seen (Twisted included) just provide a link to a page which then
> provides a link to a file with a filename of vaguely the appropriate
> shape.  easy_install works by screen-scraping that link.
> 
> In our case, the "home page", http://twistedmatrix.com, links
> directly to a Twisted-<version>.tar.bz2, which is then used.
> 
> If someone (perhaps Mark van Lent!) could point us at how to provide
> the correctly structured information to easy_install via PyPI so it
> will _stop_ screen-scraping our website, and just point at the
> correct files, this problem could be addressed.
> 

I think that easy_install and related tools can be directed to the
proper download location by providing a Download-URL on the PyPI page.

E.g. the page for Twisted 9.0.0:
http://pypi.python.org/pypi/Twisted/9.0.0

should have a Download-URL link to:
http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/

Regards,
Ziga




More information about the Twisted-Python mailing list