[Distutils] unusual platform-dependent problem with tarfile created by setuptools

Ronald Oussoren ronaldoussoren at mac.com
Fri Jul 28 20:38:56 CEST 2006


On Jul 28, 2006, at 2:36 AM, Michael Bayer wrote:
> MyghtyUtils-0.52/test/testbase.py
>
> however, when you run "python setup.py sdist" on an OS X machine
> (interestingly, *not* on a windows machine), the resulting tar/gz
> file contains an extra file:
>
> 	MyghtyUtils-0.52/test/._Container.py
>
> no idea why that is...but this creates problems on windows.

test/Container.py contains a resource-fork or some other mac-specific  
attribute. At least in plain distutils 'sdist' seems to the platform  
tar and on OSX that creates ._* files for mac-specific attributes/ 
resource-forks.

Ronald



More information about the Distutils-SIG mailing list