Skip to content

Add symlink to generalize macOS library pathname #118052

@rprimmer

Description

@rprimmer

Feature or enhancement

Proposal:

For v3.12.3, the library pathname on macOS is /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages. When running pyinstaller it's necessary to designate the pathname to packages when creating an executable from a python script. Since this pathname is specific to 3.12, it's not obvious how to create a generic path to python packages.

There is a symlink in /Library/Frameworks/Python.framework/Versions for Current -> 3.12, but there isn't a symlink in /Library/Frameworks/Python.framework/Versions/Current/lib. I manually created a symlink in this dir Current -> python3.12, but this will be removed with the next update.

So the request for enhancement is to have this symlink (i.e., Current -> release number in dir /Library/Frameworks/Python.framework/Versions/Current/lib) be part of the standard install.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions