[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-distutils-sig
Subject:    [Distutils] why does easy_install set +x on all .py files?
From:       Erik Bray <erik.m.bray () gmail ! com>
Date:       2011-06-07 18:48:38
Message-ID: BANLkTinWn1M3_GaAf1SWeEQRbYwfvCz1nw () mail ! gmail ! com
[Download RAW message or body]

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
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic