Adopt a consistent POSIX layout
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Feature or enhancement
Proposal:
Currently, the Python installation directory for stdlib/platstdlib and purelib/platlib is defined as {implementation_lower}{py_version_short}{abi_thread}, and for include/platinclude as {implementation_lower}{py_version_short}{abiflags}.
I would like to make it consistent with {implementation_lower}{py_version_short}{abiflags}.
Currently, I believe this will mostly affect debug builds, which will receive their own separate directory.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
In https://github.com/python/cpython/issues/121103, we added {abi_thread}.
In https://github.com/python/cpython/issues/127294, we discuss some of the impact of mixed installations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the discussion in issues 121103 and 127294, then trace how the installation paths for stdlib, platstdlib, purelib, platlib, include, and platinclude are defined. Check the effects on debug and mixed installations; done means the affected paths consistently use {implementation_lower}{py_version_short}{abiflags} without breaking those cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100