Open ChrisBarker-NOAA opened 2 years ago
NOTE: I added the data files, but it won't actually work correctly.
The tests fail with:
"complete" model source files are not yet available. Run
model_catalogs.complete_source_catalog()to create this directory.
But that won't work with a proper install -- it will only work with an editable install.
Not too horrible while under active development -- but I think we need to be a bit more clear about code vs data, and where generated files with be stored.
@ChrisBarker-NOAA is this still an issue?
Looks like this is working now -- closing.
Reopening because I just noticed that the CI tests are using an editable install for the tests:
run: |
python -m pip install -e . --no-deps --force-reinstall
I think the tests should probably use a regular, non-editable install, to avoid similar issues arising in the future.
If I do:
pip install model_catalogs
then I can't import it:
I think there's a data file not getting installed.
It works if you use an editable install.