Re: Building plans .....

Ronald Oussoren via Pythonmac-SIG <[email protected]> Mon, 16 Mar 2020 10:53:25 +0100
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
--===============7754106231880477626==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_76B95CB2-A29F-4D8D-B73A-A5E01C9F44AD"


--Apple-Mail=_76B95CB2-A29F-4D8D-B73A-A5E01C9F44AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 15 Mar 2020, at 22:04, Christopher Barker <[email protected]> =
wrote:
>=20
> On Sun, Mar 15, 2020 at 4:39 AM Ronald Oussoren =
<[email protected] <mailto:[email protected]>> wrote:
> AFAIK the only difference for this discussion is the =E2=80=9CPython.app=
=E2=80=9D trick, and that can be accomplished outside of a framework =
build as well (but currently is not).=20
>=20
> Two other differences:
> - A framework build is easier to integrate into applications that are =
built using Xcode (just drop the framework into list of used frameworks)
> When would that come into play? If you are developing an application =
that embeds the python interpreter? OR if you are using XCode as your =
IDE for developing a Python App?

That=E2=80=99s something you can use to embed Python into an ObjC app.=20=


> =20
> - py2app currently doesn=E2=80=99t work properly with a Unix build
>=20
> But that could be fixed, yes? (And I think PyInstaller already does =
work with a unix build)

Sure. Fixing this isn=E2=80=99t too hard, although it will take more =
time than I=E2=80=99d like due to the way the code is structured.=20

>=20
> I *think* this means that a unix-style build with the python.app =
"trick" would be appropriate for use in distributions that are otherwise =
not "mac native" -- e.g. conda, homebrew.
>=20
> As to whether a style build would be OK for the python.org =
<http://python.org/> installer, I'm not so sure. That may still be a =
candidate for a Framework build --it sure does make =
installation/uninstalling easier than scatter files all over /usr/local.

Right. That=E2=80=99s an important consideration given that macOS =
doesn=E2=80=99t have a proper native package manager, just an installer.

>=20
> Of course, to make any of this happen, someone with the autoconf =
skills needs to have the time and motivation to do it. I'm not that =
person (though who knows how far I would have gotten if I'd spent the =
time I've spent talking about this actually giving it a try :-) )
>=20
> So we'll see. Maybe there's no one that both wants this done and has =
the time and skills to do it -- such is the world of open source.

Agreed. In the end everyone working on Python is a volunteer.

Ronald

=E2=80=94

Twitter / micro.blog: @ronaldoussoren
Blog: https://blog.ronaldoussoren.net/=

--Apple-Mail=_76B95CB2-A29F-4D8D-B73A-A5E01C9F44AD
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""><div =
class=3D""><br class=3D""></div><div><blockquote type=3D"cite" =
class=3D""><div class=3D"">On 15 Mar 2020, at 22:04, Christopher Barker =
&lt;<a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div dir=3D"ltr" class=3D"">On Sun, Mar 15, 2020 at 4:39 AM =
Ronald Oussoren &lt;<a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:<br class=3D""></div><div =
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">AFAIK the only difference for this =
discussion is the =E2=80=9CPython.app=E2=80=9D trick, and that can be =
accomplished outside of a framework build as well (but currently is =
not). <br class=3D"">
<br class=3D"">
Two other differences:<br class=3D"">
- A framework build is easier to integrate into applications that are =
built using Xcode (just drop the framework into list of used =
frameworks)<br class=3D""></blockquote><div class=3D"">When would that =
come into play? If you are developing an application that embeds the =
python interpreter? OR if you are using XCode as your IDE for developing =
a Python&nbsp;App?</div></div></div></div></blockquote><div><br =
class=3D""></div><div>That=E2=80=99s something you can use to embed =
Python into an ObjC app.&nbsp;</div></div><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"gmail_quote"><div class=3D"">&nbsp;</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">- py2app currently doesn=E2=80=99=
t work properly with a Unix build<br class=3D""></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">But that could be fixed, =
yes? (And I think PyInstaller already does work with a unix =
build)</div></div></div></div></blockquote><div><br class=3D""></div>Sure.=
 Fixing this isn=E2=80=99t too hard, although it will take more time =
than I=E2=80=99d like due to the way the code is =
structured.&nbsp;</div><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"gmail_quote"><div class=3D""><br class=3D""></div><div =
class=3D"">I *think* this means that a unix-style build with the =
python.app "trick" would be appropriate&nbsp;for use in =
distributions&nbsp;that are otherwise not "mac native" -- e.g. conda, =
homebrew.</div><div class=3D""><br class=3D""></div><div class=3D"">As =
to whether a style&nbsp;build would be OK for the <a =
href=3D"http://python.org/" class=3D"">python.org</a> installer, I'm not =
so sure. That may still be a candidate for a Framework&nbsp;build --it =
sure does make installation/uninstalling easier than scatter files all =
over /usr/local.</div></div></div></div></blockquote><div><br =
class=3D""></div>Right. That=E2=80=99s an important consideration given =
that macOS doesn=E2=80=99t have a proper native package manager, just an =
installer.</div><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"gmail_quote"><div class=3D""><br class=3D""></div><div =
class=3D"">Of course, to make any of this happen, someone with the =
autoconf skills needs to have the time and motivation to do it. I'm not =
that person (though who knows how far I would have gotten if I'd spent =
the time I've spent talking about this actually giving it a try :-) =
)</div><div class=3D""><br class=3D""></div><div class=3D"">So we'll =
see. Maybe there's no one that both wants this done and has the time and =
skills to do it -- such is the world of open =
source.</div></div></div></div></blockquote><div><br =
class=3D""></div><div>Agreed. In the end everyone working on Python is a =
volunteer.</div><div><br class=3D""></div><div>Ronald</div><div><br =
class=3D""></div><div><div style=3D"caret-color: rgb(0, 0, 0); color: =
rgb(0, 0, 0);">=E2=80=94</div><div style=3D"caret-color: rgb(0, 0, 0); =
color: rgb(0, 0, 0);"><br class=3D""></div><div style=3D"caret-color: =
rgb(0, 0, 0); color: rgb(0, 0, 0);">Twitter / micro.blog: =
@ronaldoussoren</div><div style=3D"caret-color: rgb(0, 0, 0); color: =
rgb(0, 0, 0);">Blog: <a href=3D"https://blog.ronaldoussoren.net/" =
class=3D"">https://blog.ronaldoussoren.net/</a></div></div></div></body></=
html>=

--Apple-Mail=_76B95CB2-A29F-4D8D-B73A-A5E01C9F44AD--

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

--===============7754106231880477626==--