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

Fernando Perez fperez.net@gmail....
Tue Aug 17 01:07:51 CDT 2010


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.)


Cheers,

f

ps - congrats to all of you for the progress on the py3k work!


More information about the NumPy-Discussion mailing list