[Catalog-sig] Application downloads hosted by PyPI?

Richard Jones richardjones at optushome.com.au
Fri Jan 2 08:13:17 CET 2009


When I initially implemented PyPI file hosting it was specifically designed to 
only handle files generated by distutils.

I'm now in a position where I'd personally like to upload a application (well, 
a zip file of an application) to the index. I've solved the problem of 
generating the application distribution files* but to get it to upload I had 
to tell PyPI that it was an sdist, and include a PKG-INFO file (to pass the 
basic test I put in place to make sure that sdist files being uploaded really 
were sdist files).

Clearly this is not optimal as the file is not really an sdist ;)

I couldn't upload it as a "bdist" because PyPI understands that binary 
distributions are Python-version-specific. My application distribution is not 
version specific.

What do people think about adding a new file type allowed for upload of 
"application" or similar?


    Richard

* see my blog entry for more information:
http://www.mechanicalcat.net/richard/log/Python/Sane_Python_application_packaging__initial_solution


More information about the Catalog-SIG mailing list