Improved default build/test environment
This PR modifies the build script (setup.py
) and the test suite to ensure that the tests run end-to-end without any failures on a minimal install, e.g. after
git clone https://github.com/gwpy/gwpy
cd gwpy
pip install .
followed by
python setup.py test
The commits are individually simple and amount to
- making sure all required dependencies are listed in
install_requires
ortests_require
as appropriate - moving some optional imports to fail at run time rather than import
- adding
skipUnless
decorators to all tests requiringh5py
ordqsegdb