The Mac comes with Python. And Big Sur comes with Python 2 and 3.
I am sure one can set the PATH somewhere :-)-O
el
— Sent from Dr Lisse’s iPhone On 11. Oct 2021, 17:12 +0200, Jacob Carlborg via TextMate textmate@lists.macromates.com, wrote:
And if Python is not installed?
BTW, using /usr/bin/env assumes that the PATH environment variable is properly set up in TextMate. TextMate does not inherit the PATH environment variable from the system.
On 11 Oct 2021, at 13:02, Dr Eberhard W Lisse via TextMate textmate@lists.macromates.com wrote:
I am not sure I understand the innards nor do I want to, but I see on my Big Sur 11.6
/usr/bin/python (v 2.7.16) /usr/bin/python3 (v 3.8.2)
which are (both) from Apple
/usr/local/bin/python3 (v 3.9.7)
which is from Homebrew and the one that is in my path and is found by the
#!/usr/bin/env python
and
#!/usr/bin/env python3
shebangs. Would not the most practical be to take whatever python3 is offered?
greetings, el
On 11/10/2021 12:46, John Joyce via TextMate wrote:
Definitely best to have users install their own.
On Oct 11, 2021, at 18:53, Jacob Carlborg via TextMate textmate@lists.macromates.com wrote:
"If an app uses Python 2.7, macOS now triggers an alert indicating that the developer must update the app to ensure it will work in future versions of macOS. (80221011)" [1]
Python will be removed or already has been removed from macOS (it’s been deprecated for a couple of release now). Looks like the command needs to be updated. I’m not sure what’s the best solution is. For the bundle itself to bundle Python or for TextMate to bundle Python in a similar way as it does with Ruby 1.8.7.
[1] https://developer.apple.com/documentation/macos-release-notes/macos-12-relea...
[...]
-- Dr. Eberhard W. Lisse \ / Obstetrician & Gynaecologist el@lisse.NA / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 Bachbrecht \ / If this email is signed with GPG/PGP 10007, Namibia ;____/ Sect 20 of Act No. 4 of 2019 may apply Book your Covid-19 Vaccination at https://c19.idtoday.com.na _______________________________________________ TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
-- /Jacob Carlborg
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com