python / python/cpython

Make IDLE installation optional

オープン
#117,682 コメント 10 件 リアクション 2 件 担当者 0 名 GitHub で見る

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

topic-IDLE topic-installation type-feature
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

Feature or enhancement

Proposal:

IDLE is useful at development-time, but a graphical IDE isn't something that needs to be present, for example, in a container image containing production code. IDLE is a standalone app with no dependents elsewhere in the standard library, so it's trivial to strip from the installation directory after running make install - by removing lib/python3.x/idlelib/ and the executable/symlink in bin - but it'd be much more convenient if it were possible to tell configure not to install it in the first place.

This could be implemented with a new option, --without-idle. This would allow IDLE to be installed by default for backwards compatibility, while permitting it not to be installed in situations where it isn't needed.

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

Linked PRs
  • gh-117684

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、configure オプションの処理と、IDLE を lib/python3.x/idlelib/ に配置し、その実行可能ファイルまたはシンボリックリンクを bin に配置する make install ルールを追跡します。gh-117684 の作業がインストールにどのように対応しているかを確認し、新しいオプションによってこれらのファイルがスキップされる一方で、デフォルトのインストールは変更されないことを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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