On Mon, Nov 23, 2020 at 12:09 AM Paul Moore firstname.lastname@example.org wrote:
On Mon, 23 Nov 2020 at 03:37, Christopher Barker email@example.com wrote:
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.
You're more or less right, although your perspective on what's useful may be biased a little by the fact that (I believe) you're a heavy numpy user.
indeed I am. But also, where I need this sort of thing is for desktop GUIs (wxPython in my case), another heavy user of compiled extensions.
I'm still confused what the point is of a zipapp, if it can't be a proper point and click GUI thing, and it can't use any compiled extensions. How it is it better than a console_script and a pip-installed package??
Hmm --maybe 'cause you can bundle specific dependency versions?
In that case, conda-execute should be part of the discussion. What it does is fire up a conda environment, and then run your script in it.
BTW, this all reminds me of a discussion a long while back in the wxPython community -- we thought it would be nice to have a wxPython run-time -- essentially a Python install with wxPython bundled in, so you could make little GUI apps without bundling that massive package. But one trick was that while wxPython was the big one, any given application might require who knows what other dependency as well. I suppose sipassp could help there.
And none of us got around to actually implementing it anyway :-(