[Catalog-sig] Distutils sdist formats best practice

Alex Clark aclark at aclark.net
Mon Feb 6 18:19:11 CET 2012


Hi,

What is the best practice for creating sdists with varying compression 
formats?

I just noticed that the format is largely platform-specific[1]. So I'm 
inclined to have pythonpackages.com create all popular formats and make 
them available for download, i.e.:

- bzip2
- zip
- gzip


What do pip/easy_install/etc do when they encounter both a .zip and a 
.tar.gz, for example? Is it "better" or "worse" to upload more than a 
single format?


Alex



[1] http://docs.python.org/distutils/sourcedist.html



-- 
Alex Clark · http://pythonpackages.com



More information about the Catalog-SIG mailing list