[Numpy-discussion] py3k execfile('setup.py')

Ralf Gommers ralf.gommers@googlemail....
Fri Aug 20 05:52:37 CDT 2010


On Tue, Aug 17, 2010 at 2:07 PM, Fernando Perez <fperez.net@gmail.com>wrote:

> On Sat, Aug 14, 2010 at 6:11 AM, Ralf Gommers
> <ralf.gommers@googlemail.com> wrote:
> > Installing into a local virtualenv (with either of the methods that work)
> > looks good. Into /Library/Frameworks/..., nose refuses to run any tests,
> due
> > to the files being executable. But I think that's normal. Changing
> > permissions to 644 manually it all looks good again.
>
> You can also pass --exe to nose to override this safety, if you want
> (output of nosetests --help below):
>
>  --exe                 Look for tests in python modules that are
> executable.
>                        Normal behavior is to exclude executable modules,
>                        since they may not be import-safe [NOSE_INCLUDE_EXE]
>  --noexe               DO NOT look for tests in python modules that are
>                        executable. (The default on the windows platform is
> to
>                        do so.)
>
> Thanks, that does the trick. Tests run with
"np.test(extra_argv=['--exe'])". I didn't notice at first that setuptools
always does this, also for python 2.x installs through setupegg.py.

Committed in r8655.

Cheers,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100820/272e8b39/attachment-0001.html 


More information about the NumPy-Discussion mailing list