[Distutils] why does easy_install set +x on all .py files?
Erik Bray
erik.m.bray at gmail.com
Tue Jun 7 20:48:38 CEST 2011
Hi all,
I've used setuptools for a long time, and yet I've only just noticed
this behavior. It came up because I wanted nose to run some installed
tests, and it was mysterious as to why it wasn't finding them. Debug
output from nose revealed the answer: it was skipping searching those
modules because they're exectuable.
That's fine, because I can just add --exe to nose. But I was
wondering why it is that easy_install sets 0755 on all files? Why not
preserve the existing executable bit set on the file?
Thanks,
Erik
More information about the Distutils-SIG
mailing list