Adopt a consistent POSIX layout
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先查看 issues 121103 和 127294 中的讨论,然后追踪 stdlib、platstdlib、purelib、platlib、include 和 platinclude 的安装路径是如何定义的。检查对 debug 安装和混合安装的影响;完成的标准是受影响的路径始终使用 {implementation_lower}{py_version_short}{abiflags},且不破坏这些情况。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100