Make IDLE installation optional
還沒有人認領這個 Issue。
- 主要語言
- 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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先追蹤 configure 選項的處理方式,以及將 IDLE 放置到 lib/python3.x/idlelib/、將其可執行檔或符號連結放置到 bin 中的 make install 規則。檢查 gh-117684 的工作如何處理安裝,並驗證新選項會跳過這些檔案,同時預設安裝維持不變。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- build-system
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100