[Distutils] sdist default archive format

Zooko Wilcox-O'Hearn zooko at zooko.com
Thu Jun 18 22:02:05 CEST 2009


On Jun 17, 2009, at 15:07 PM, Trent Mick wrote:

> The tradeoff is that .zip files are compressed as well. But I don't  
> believe that difference in compression size  
> between .zip/.tar.gz/.tar.bz2 is that big of a concern in *most*  
> cases because most Python sdist's are small, are they not?

My project is 2.5 MB in .zip, 2.25 MB in .tar.bz2, and 1.8 MB  
in .tar.xz.  I would be happy to save that 700 KB by moving from .zip  
to .tar.xz (once there is LZMA-tar in Python), but I'm more concerned  
about the permissions issues, which are still an unsolved problem in  
setuptools, e.g.: http://bugs.python.org/setuptools/issue6

Regards,

Zooko

  $ ls -lS
-rw-rw-r-- 1 zooko zooko 8355840 2009-06-17 09:48 allmydata- 
tahoe-1.4.1-r3916.tar
-rw-rw-r-- 1 zooko zooko 2562835 2009-06-17 09:51 allmydata- 
tahoe-1.4.1-r3916.zip
-rw-rw-r-- 1 zooko zooko 2383653 2009-06-17 09:48 allmydata- 
tahoe-1.4.1-r3916.tar.gz
-rw-rw-r-- 1 zooko zooko 2250149 2009-06-17 09:49 allmydata- 
tahoe-1.4.1-r3916.tar.bz2
-rw-rw-r-- 1 zooko zooko 2223425 2009-06-17 09:49 allmydata- 
tahoe-1.4.1-r3916.tar.rz
-rw-rw-r-- 1 zooko zooko 1818466 2009-06-17 09:52 allmydata- 
tahoe-1.4.1-r3916.7z
-rw-rw-r-- 1 zooko zooko 1811698 2009-06-17 09:50 allmydata- 
tahoe-1.4.1-r3916.tar.xz


More information about the Distutils-SIG mailing list