Open vetlewi opened 3 years ago
This turns out to be a little more complex than I initially thought. The OCL_response_functions
and example-data
directories might have to move into the ompy
directory in order for them to be copied correctly. Will do some more research to determine what the best coarse of action is...
EDIT
Okey... After a few google searches I've came to the conclusion that it might make more sense to refactor the examples
package to download the example files directly from e.g. GitHub to a temporary folder.
Similarly it might make sense to make a separate ompy-response
package that will allow for easy loading of response matrices. Will close the PR #189 and keep this issue open.
When installing using the command
ie. not using the
-e
optionompy
will be installed to the site-packages folder and not linked to the source folder. This will not copy theexample_data
andOCL_response_functions
folders.To fix this one should add a
MANIFEST.in
file with the following lines:I will fix this. Add it as an issue to remind myself :)