Hello,

I am not a Python developer.  So, please forgive the intrusion.

I have developed an AppleScript applet which provides a GUI “frontend” for a 
Python script provided by another developer.  The applet runs on any version of 
macOS from OSX 10.10 up.

The Python script is very functional but only works from Terminal and invoking 
it correctly it is complex especially for users not familiar with Terminal.  My 
applet simplifies all that so Mac users can more easily access the 
functionality of the Python script.

As you will guess, the applet currently works because Apple for many years have 
included Python2.7 in macOS.  But, recently, development of the Python script 
has ceased and I have to move to another Python script (forked from the 
original) which is actively developed.

My problem is that the new Python script requires Python3 which is not in 
macOS.  So, I need to find a way of providing a Python runtime to users of my 
applet.

Can anyone help me with advice on how to create and distribute a Python runtime 
(with my applet) ?

The shebang in the script has this:  #! usr/bin/env Python3.  I guess that 
means the script will call the Python3 stub located in /usr/bin/.  But, that 
will invoke the Xcode Command Line tools download which most of my users will 
not want.  How do I redirect that call to a Python3 runtime ? 

As the wider Mac developer and user community learn that they need Python3, 
there will be a growing need for simple Python3 runtimes.  But, the macOS 
distribution currently available includes the IDE and other development tools 
which, again, most of my users will not want.  Would it possible to prepare a 
runtime installer suitable for users who wish to run Python apps and scripts ?

Thanks.


Garry
macy...@gmail.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to