Re: [arch-general] Pros/Cons of Python zipapp packaging

2020-08-11 Thread Daan De Meyer via arch-general
I was evaluating whether we could simply avoid pip altogether and get by with zipapp only as it's quite simple and avoids pip altogether. As Eli deduced correctly, the big advantage is getting an executable that you put anywhere and run with sudo without python having trouble finding the

Re: [arch-general] Pros/Cons of Python zipapp packaging

2020-08-10 Thread karx via arch-general
On Mon, Aug 10, 2020, 6:46 PM Filipe Laíns via arch-general < arch-general@archlinux.org> wrote: > On Mon, 2020-08-10 at 21:49 +0100, Daan De Meyer via arch-general wrote: > > Hi, > > > > We've been discussing the distribution mechanism for mkosi ( > > https://github.com/systemd/mkosi) and one of

Re: [arch-general] Pros/Cons of Python zipapp packaging

2020-08-10 Thread Eli Schwartz via arch-general
On 8/10/20 4:49 PM, Daan De Meyer via arch-general wrote: > Hi, > > We've been discussing the distribution mechanism for mkosi ( > https://github.com/systemd/mkosi) and one of the ideas is using Python > zipapp (https://docs.python.org/3/library/zipapp.html) to allow us to split > mkosi up into

Re: [arch-general] Pros/Cons of Python zipapp packaging

2020-08-10 Thread Filipe Laíns via arch-general
On Mon, 2020-08-10 at 21:49 +0100, Daan De Meyer via arch-general wrote: > Hi, > > We've been discussing the distribution mechanism for mkosi ( > https://github.com/systemd/mkosi) and one of the ideas is using Python > zipapp (https://docs.python.org/3/library/zipapp.html) to allow us to split >

[arch-general] Pros/Cons of Python zipapp packaging

2020-08-10 Thread Daan De Meyer via arch-general
Hi, We've been discussing the distribution mechanism for mkosi ( https://github.com/systemd/mkosi) and one of the ideas is using Python zipapp (https://docs.python.org/3/library/zipapp.html) to allow us to split mkosi up into multiple files for easier development without complicating the