icecube / FastResponseAnalysis

Tool for rapid response to astrophysical transients with the IceCube Neutrino Observatory
https://fastresponseanalysis.readthedocs.io/en/latest/
3 stars 2 forks source link

Package data are not installed #43

Open mlincett opened 1 year ago

mlincett commented 1 year ago

When trying to run the FRA test on setup.py the listener fails to run because it cannot find S191216ap_update.xml

The skymap map resolves to the installation directory in the venv, but the data directory(-ies) are not copied to the location.

From a quick look at setup.py it seems that setuptools.find_packages() is used to determine what to install and I guess this does not include directories with static data such as the required sample_skymaps.

mlincett commented 1 year ago

I suppose that installing the FRA package in editable mode (pip install -e) may circumvent this issue.