why does easy_install set +x on all .py files?

June 7, 2011
6:48 p.m.
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
5013
Age (days ago)
5013
Last active (days ago)
0 comments
1 participants
participants (1)
-
Erik Bray