This is a refactor/rethinking of the existing UV-CDAT GUI. We're porting things over to PySide, rather than being in PyQt, and working on detangling the existing spreadsheet/VCS integration and integrating it into a new shell.
The current requirements are:
- A recent version of UV-CDAT (installed from source) (>2.2, due to vcs.prefix -> vcs.sample_data changeover)
PySide
(might give you some lip when you install it; installation issues will get ironed out, I wound up having to use homebrew to install it, and added a .pth file to UV-CDAT's site-packages directory that points to homebrew's site-packages).pytest
(installable via pip, used to run tests)pytest-qt
(used to power GUI tests)pytest-cov
(used to measure test coverage)
Once you have the requirements installed, you should be able to do this:
source uvcdat/bin/setup_runtime.sh
cd cdatgui
python setup.py install
cdatgui
This should get you the current rev of the GUI up and running.
To run tests and generate an HTML report listing the current coverage status, you should be able to just use the script in the root of the project, test
. It will run all of the tests, generate a coverage report, and shove that into htmlcov
. To view the results of the coverage, open htmlcov/index.html
.