python / python/cpython

Adopt a consistent POSIX layout

オープン
#142,265 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

topic-installation type-feature
主要言語
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。