Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py install: problem with file paths #6

Open
MedericFourmy opened this issue Dec 8, 2022 · 1 comment
Open

setup.py install: problem with file paths #6

MedericFourmy opened this issue Dec 8, 2022 · 1 comment

Comments

@MedericFourmy
Copy link

MedericFourmy commented Dec 8, 2022

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

@MedericFourmy
Copy link
Author

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant