[Numpy-discussion] py3k execfile('setup.py')
Fri Aug 20 05:52:37 CDT 2010
On Tue, Aug 17, 2010 at 2:07 PM, Fernando Perez <firstname.lastname@example.org>wrote:
> On Sat, Aug 14, 2010 at 6:11 AM, Ralf Gommers
> <email@example.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,
> > 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
> 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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion