Re: Pythonmac-SIG Digest, Vol 189, Issue 1

Vincentius Vincentius <[email protected]> Sun, 3 Oct 2021 13:34:28 +1100
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
--===============5276380130837087354==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_1A8AC8EB-B689-4CB9-B452-E41DD598EF7E"


--Apple-Mail=_1A8AC8EB-B689-4CB9-B452-E41DD598EF7E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Kevin, many thanks.

Requiring users to install Python themselves might be asking too much =
for many =E2=80=93 they would just look somewhere else for a tool that =
doesn=E2=80=99t impose requirements.  Anyway the standard install comes =
with developer tools that the ordinary user will not need and, from my =
experience, object to.

I=E2=80=99ve been pointed to PyInstaller which might be a solution for =
distributing the Python script separately.

Cheers.


Garry
[email protected]

> On 3 Oct 2021, at 3:00 am, [email protected] wrote:
>=20
>> Can anyone help me with advice on how to create and distribute a =
Python runtime (with my applet) ?
>>=20
> Point your users to the installer for the Mac version of Python:
>=20
> https://www.python.org/ftp/python/3.9.7/python-3.9.7-macosx10.9.pkg =
<https://www.python.org/ftp/python/3.9.7/python-3.9.7-macosx10.9.pkg>
> There is no simple way to embed a Python installation within an =
AppleScript applet. If you're doing that, you might as well all the way =
and deploy your script as a full Mac application with Python libraries =
bundled using a tool like py2app.=20
>=20
> --Kevin=20

--Apple-Mail=_1A8AC8EB-B689-4CB9-B452-E41DD598EF7E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Kevin, many thanks.<div class=3D""><br class=3D""></div><div =
class=3D"">Requiring users to install Python themselves might be asking =
too much for many =E2=80=93 they would just look somewhere else for a =
tool that doesn=E2=80=99t impose requirements. &nbsp;Anyway&nbsp;the =
standard install comes with developer tools that the ordinary user will =
not need and, from my experience, object to.</div><div class=3D""><div =
class=3D""><br class=3D""></div><div class=3D"">I=E2=80=99ve been =
pointed to PyInstaller which might be a solution for distributing the =
Python script separately.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Cheers.</div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""><div class=3D"">
<div style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); =
font-family: &quot;Times New Roman&quot;; font-size: 16px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
text-decoration: none;">Garry</div><div style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); font-family: &quot;Times New Roman&quot;; =
font-size: 16px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><a =
href=3D"mailto:[email protected]" class=3D"">[email protected]</a></div>
</div>
<div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 3 Oct 2021, at 3:00 am, <a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a> wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"Singleton" style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;"><blockquote type=3D"cite" =
cite=3D"mid:[email protected]" =
style=3D"caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; =
font-size: 16px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><div =
class=3D""><div class=3D"" style=3D"caret-color: rgb(0, 0, 0); =
font-family: TimesNewRomanPSMT;">Can anyone help me with advice on how =
to create and distribute a Python runtime (with my applet) =
?</div></div><div class=3D""><br class=3D""></div></blockquote><p =
style=3D"caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; =
font-size: 16px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D"">Point your users to the installer for the Mac version =
of Python:</p><p style=3D"caret-color: rgb(0, 0, 0); font-family: =
TimesNewRomanPSMT; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><a class=3D"moz-txt-link-freetext" =
href=3D"https://www.python.org/ftp/python/3.9.7/python-3.9.7-macosx10.9.pk=
g">https://www.python.org/ftp/python/3.9.7/python-3.9.7-macosx10.9.pkg</a>=
</p><p style=3D"caret-color: rgb(0, 0, 0); font-family: =
TimesNewRomanPSMT; font-size: 16px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D"">There is no simple way to embed a =
Python installation within an AppleScript applet. If you're doing that, =
you might as well all the way and deploy your script as a full Mac =
application with Python libraries bundled using a tool like py2app.<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D""></p><p =
style=3D"caret-color: rgb(0, 0, 0); font-family: TimesNewRomanPSMT; =
font-size: 16px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D"">--Kevin<span =
class=3D"Apple-converted-space">&nbsp;</span></p></div></div></blockquote>=
</div></div></div></body></html>=

--Apple-Mail=_1A8AC8EB-B689-4CB9-B452-E41DD598EF7E--

--===============5276380130837087354==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

--===============5276380130837087354==--