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

Fix getting python install path #953

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nater1983
Copy link

Get Python Paths Using the python.get_path() Method:

Retrieve specific paths like purelib and stdlib using python.get_path().

Handle Paths Manually:

Construct the paths based on the information provided by the python.get_path() method.

python_bin.get_path('purelib'): This retrieves the directory where Python packages are installed.
python_bin.get_path('stdlib'): This retrieves the directory for Python standard libraries.

Get Python Paths Using the python.get_path() Method:

    Retrieve specific paths like purelib and stdlib using python.get_path().

Handle Paths Manually:

    Construct the paths based on the information provided by the python.get_path() method.
@nater1983 nater1983 changed the title Getting python install path Fix getting python install path Aug 11, 2024
@rdbende
Copy link
Collaborator

rdbende commented Sep 22, 2024

Unfortunately this doesn't work inside Flatpak.

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

Successfully merging this pull request may close these issues.

2 participants