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

bv_maker_pure_python.pth is never cleared #4

Open
denisri opened this issue Oct 30, 2018 · 1 comment
Open

bv_maker_pure_python.pth is never cleared #4

denisri opened this issue Oct 30, 2018 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@denisri
Copy link
Contributor

denisri commented Oct 30, 2018


Author Name: Cointepas, Yann (@sapetnioc)
Original Redmine Issue: 12733, https://bioproj.extra.cea.fr/redmine/issues/12733
Original Date: 2015-06-11
Original Assignee: Cointepas, Yann


For pure python bv_maker modules, there is a special configuration code that make sure that the Python source of each component is in sys.path. It rely on a file python/sitecustomize/bv_maker_pure_python.pth located in the build directory. Each component code is independent and just make sure that its source directory is in this file. But this file is never cleared, therefore directories put here once are here forever. Moreover, directories are added at the end. Thus older directories are first in the list.

@denisri denisri added this to the brainvisa-4.7 milestone Oct 30, 2018
@ylep ylep added bug Something isn't working and removed Component: Resolution labels Feb 18, 2020
@sapetnioc
Copy link
Member

Re-activate this issue is a good moment to think about this bv_maker_pure_python.pth file. I will try to see if it is possible to replace it by using pip install -e. A priori, it does not seem too difficult now that we have casa-distro.

@sapetnioc sapetnioc self-assigned this Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants