[Distutils] Setuptools Bug: all files installed +x

Pete pfein at pobox.com
Mon Apr 21 21:24:21 CEST 2008


On both linux & OS X, Setuptools installs all .py/.pyc files with mode  
a+x (executable for all users).  This occurs regardless of original  
the permissions in the source tarball.  Doing so breaks nosetests,  
which by default refuses to import executable files for test-discovery  
purposes as a safety measure.

This behavior is broken & dangerous.

-- 
Pete
pfein at pobox.com






More information about the Distutils-SIG mailing list