At least on my Mac, python runtests.py fails, with the messages below:
Building, see build.log...
running install
Checking .pth file support in /Users/clancy/Work/Projects/pycontrol/build/testenv/lib/python2.7/site-packages/
/usr/local/opt/python/bin/python2.7 -E -c pass
TEST FAILED: /Users/clancy/Work/Projects/pycontrol/build/testenv/lib/python2.7/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Users/clancy/Work/Projects/pycontrol/build/testenv/lib/python2.7/site-packages/
and your PYTHONPATH environment variable currently contains:
'/Users/clancy/Work/Projects/pycontrol'
This happens for me with python 2.7.8 and 3.4.1. If I run python runtests.py -n to skip the build, then the tests run fine. So it seems like there might be a problem either with runtests.py or setup.py. But if I understand correctly from @jgoppert, these files were taken directly from numpy, and if I clone the numpy source and do python runtests.py in that, it works fine. So this is mysterious to me.
At least on my Mac,
python runtests.pyfails, with the messages below:This happens for me with python 2.7.8 and 3.4.1. If I run
python runtests.py -nto skip the build, then the tests run fine. So it seems like there might be a problem either with runtests.py or setup.py. But if I understand correctly from @jgoppert, these files were taken directly from numpy, and if I clone the numpy source and dopython runtests.pyin that, it works fine. So this is mysterious to me.