cosypose
cosypose copied to clipboard
setup.py install: problem with file paths
For now, installing cosypose using python setup.py install or pip install . (equivalent) has 2 issues:
- path to local_data folder is assumed to be in the project/package folder (see this line), which is not copied in the installed package (and should not be)
- cosypose/config_yann.yaml is also assumed to be present in the installed package but it is not for copied
NB: python setup.py develop or pip install -e .` works perfectly fine but is normally used while developing the package itself
- For local_data, a hack would be to set a cosypose module attribute before config.py is ever imported and then check if this attribute is present while building the obsolute path variables