Make IDLE installation optional
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Verarbeitung der configure-Option und die make install-Regeln nachzuverfolgen, die IDLE unter lib/python3.x/idlelib/ und seine ausführbare Datei oder seinen Symlink in bin platzieren. Prüfe, wie die Arbeit an gh-117684 die Installation behandelt, und verifiziere, dass die neue Option diese Dateien überspringt, während die Standardinstallation unverändert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- build-system
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100