On Sun, Nov 22, 2020 at 6:34 AM Paul Moore <[email protected]> wrote:

> > Am 20.11.20 um 11:01 schrieb Paul Moore:
>
> > > 2. Add something that makes writing MacOS "app bundles" from zipapps
> > > easier. That could be part of the zipapp module, or a standalone
> > > module.
>


> Definitely not. I'm thinking of something *far* more limited.
> Specifically, things I'm not suggesting be in the stdlib:
>
> 1. Bundling the Python binaries.
> 2. Stripping out unneeded modules.
> 3. Executables forms other than "single file".
> 4. Support for C extensions.
>

That last one if VERY limiting :-(

But anyway, I haven't used it in a long time, but py2app has (or had) and
"alias" mode, that would would make a app bundle that references the
installed python. I think it would not take much to make it include all
non-stdlib code -- or, even easier, to include what the user specifies.

But I'm not sure of the utility of this really -- Linux is the only
platform that you can expect a consistent "system Python" on. (Apple has
supplied one for years, but it's never been properly maintained and
suitable to use this way)

I'm curious about zipapp -- I've heard of it, but never tried to use it --
does it get much use in the wild?

My feeling is that it hits middle ground that isn't very useful. If you can
count on your users having a proper Python installation ,then they can use
pip to install your package and run your scripts.

If they can't do that, then they likely need a full bundle.

But I could be wrong there.

-CHB









> I would be open to using the "embedded distribution" on Windows to
> ship such an executable with a dedicated Python interpreter, but
> unless CPython starts distributing an embedded distribution for other
> platforms, that's as far as I'd go.
>
> Paul
>
> Paul
> _______________________________________________
> Python-ideas mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/4IEG7ICKUPQEAXPUEUSVTZQLV6NHWPLR/
> Code of Conduct: http://python.org/psf/codeofconduct/
>


-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/KF7CWFGKR6P23Q5WT57NM46SUTKDGWRV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to