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

build: cmake doesn't install python link #1087

Closed
grondo opened this issue Sep 28, 2023 · 0 comments
Closed

build: cmake doesn't install python link #1087

grondo opened this issue Sep 28, 2023 · 0 comments

Comments

@grondo
Copy link
Contributor

grondo commented Sep 28, 2023

When flux(1) prepends to PYTHONPATH it points to ${libdir}/flux/python3.x instead of the real Python path at ${libdir}/python3.x/site-packages. Symlinks are then added here as necessary, e.g.:

/usr/lib64/flux/python3.6/flux -> /usr/lib64/python3.6/site-packages/flux
/usr/lib64/flux/python3.6/_flux -> /usr/lib64/python3.6/site-packages/_flux

This keeps flux(1) from inadvertently prepending the system Python paths to a user's PYTHONPATH while still retaining the ability to push the correct bindings to the front of that path.

The fluxion link here was dropped with the conversion to cmake and needs to somehow be "installed" with make install, or else those python modules can't be loaded.

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