Closed kylejericson closed 5 years ago
Does it not?
I know that with 10.15 Python is be deprecated.
Yes, so you’ll need to install Python yourself.
Sent from my iPhone
On Jul 10, 2019, at 12:19 AM, kylejericson notifications@github.com wrote:
I know that with 10.15 Python is be deprecated.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
There seems to be two possible sides to this issue.
The first operation would typically be done infrequently on an admin Mac and the simple solution for this is to if needed install a copy of Python.
The second is potentially more difficult. If as I believe is the case the resulting installer pkg still needs to run a python script then it is likely to fail as there will be no Python interpreter to execute it. @gregneagle correct me if I am wrong about this :)
I am under the impression that Apple are encouraging developers who want to use a scripting language like Python to embed a runtime in the app - much like an increasing number of developers now include an embedded Java JRE in their apps.
This would require in this case Greg to do that if he so chose.
See these articles as possible guides - https://medium.com/python-pandemonium/embedding-a-python-application-in-macos-d866adfcaf94 http://joaoventura.net/blog/2016/embeddable-python-osx/
This tool looks relevant - https://pypi.org/project/py2app/
I will not be including a Python interpreter with pycreateuserpkg.
Also relevant: https://github.com/gregneagle/relocatable-python
Thanks I love this script so I would hate for it to die with 10.15.
On Wed, Jul 10, 2019 at 8:32 AM jelockwood notifications@github.com wrote:
There seems to be two possible sides to this issue.
- Under Catalina using the pycreateuserpkg tool to create an Apple installer pkg
- Running the resulting Apple installer pkg
The first operation would typically be done infrequently on an admin Mac and the simple solution for this is to if needed install a copy of Python.
The second is potentially more difficult. If as I believe is the case the resulting installer pkg still needs to run a python script then it is likely to fail as there will be no Python interpreter to execute it. @gregneagle https://github.com/gregneagle correct me if I am wrong about this :)
I am under the impression that Apple are encouraging developers who want to use a scripting language like Python to embed a runtime in the app - much like an increasing number of developers now include an embedded Java JRE in their apps.
This would require in this case Greg to do that if he so chose.
See these articles as possible guides -
https://medium.com/python-pandemonium/embedding-a-python-application-in-macos-d866adfcaf94 http://joaoventura.net/blog/2016/embeddable-python-osx/
This tool looks relevant - https://pypi.org/project/py2app/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gregneagle/pycreateuserpkg/issues/36?email_source=notifications&email_token=AKNV6TEYJXYLCRIY4QVNQJLP6XQGHA5CNFSM4H7JVQ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZTO5XI#issuecomment-510062301, or mute the thread https://github.com/notifications/unsubscribe-auth/AKNV6TA5KGXJBYVEY4CPKSDP6XQGHANCNFSM4H7JVQ6A .
It won't die -- it will just have a new prerequisite if/when Apple removes Python. But Python 2.7.x is still available in all the Catalina betas so far.
@gregneagle @kylejericson Yeah. My understanding is that the current quite old version of Python will still be in Catalina but not in the one after Catalina. So the issue will arise but not yet.
Will you be working on getting this to work with 10.15?