[Distutils] Setuptools Bug: all files installed +x
Phillip J. Eby
pje at telecommunity.com
Tue Apr 22 00:01:39 CEST 2008
At 04:23 PM 4/21/2008 -0400, Pete wrote:
>I'm not looking for explicit testing support from setuptools for
>testing here - I'm just asking that a bug that breaks a 3rd party
>testing package be fixed.
You haven't stated anything yet that sounds like an actual bug to
me. What nose is doing seems like the bug to me, in fact, since
modules exist "in the wild" that are both module and script. (You
yourself gave this as an example.)
It certainly might be reasonable... in a posix-only + svn-only +
tar-only world... to make the assumption that installed permissions
could be based in part on source file permissions. However,
setuptools has to support scenarios where none of those environmental
conditions apply. (e.g. Windows, a half-dozen revision control
systems, and zip files.)
That means that existing executable permissions are not -- and as far
as I can see, *cannot* -- be used as a cross-platform basis for
determining the permissions to give to installed files. Some other
mechanism to explicitly specify the permissions would need to exist.
More information about the Distutils-SIG
mailing list