Re: How to include or install a Python runtime in an AppleScript applet

Kevin Walzer <[email protected]> Sat, 2 Oct 2021 10:22:09 -0400
Newsgroups gmane.comp.python.apple
Organization WordTech Communications LLC
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============1659763850990348421==
Content-Type: multipart/alternative;
 boundary="------------7A0658D64520180F883AE9B4"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------7A0658D64520180F883AE9B4
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


On 9/28/21 1:12 AM, Vincentius Vincentius wrote:
>
> Can anyone help me with advice on how to create and distribute a 
> Python runtime (with my applet) ?
>
Point your users to the installer for the Mac version of Python:

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.

--Kevin

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


--------------7A0658D64520180F883AE9B4
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 9/28/21 1:12 AM, Vincentius
      Vincentius wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="">
        <div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0,
          0); font-family: TimesNewRomanPSMT;"><br class="">
        </div>
        <div class="" style="caret-color: rgb(0, 0, 0); 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=""><br class="">
      </div>
    </blockquote>
    <p>Point your users to the installer for the Mac version of Python:</p>
    <p><a class="moz-txt-link-freetext" href="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</a></p>
    <p>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. <br>
    </p>
    <p>--Kevin <br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Kevin Walzer
Code by Kevin
<a class="moz-txt-link-freetext" href="http://www.codebykevin.com">http://www.codebykevin.com</a>
</pre>
  </body>
</html>

--------------7A0658D64520180F883AE9B4--

--===============1659763850990348421==
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

--===============1659763850990348421==--