atom-community / atom-community/atom-script
Specify path to Python in settings
- Vorherrschende Sprache
- JavaScript
- Sterne
- 730
- Forks
- 264
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi,
On osx 10.10, I'm trying to use python3.4 with atom (macports install in /opt/local/bin/python3.4) by default, but i cant find a proper way than :
- cmd+maj+I : command = /opt/local/bin/python3.4, but i need to do that at each launch of atom
OR
- set shebang to "#!/usr/bin/env python3.4", modify "python" path to > python3.4 in zsh and edit launchctl to pass vars.
(https://github.com/rgbkrk/atom-script/issues/61#issuecomment-37337827)
OR
- set shebang to absolute path of my python3.4 install which make my script less portable.
Can you set an option to specify path to exec interpreter saved once for all ?
Have a nice day.
Beitragsleitfaden
Rechercherichtung
Das Issue nennt keine Dateien oder Tests. Beginne damit, die gespeicherten Einstellungen von Atom Script und die Interpreter-Überschreibung durch command+shift+I nachzuverfolgen; abgeschlossen ist die Arbeit, wenn ein Pfad zu einer Python-Ausführungsdatei einmal konfiguriert werden kann und beim Ausführen von Skripten wiederverwendet wird, ohne Shebangs oder Starteinstellungen zu ändern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, python
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100