On Sun, 31 Dec 2017 12:14:16 +0100 Danny Milosavljevic <dan...@scratchpost.org> wrote:
> I'd like to get the patch > > [bug#29856] [PATCH core-updates] guix: python-build-system: Modify ".py" > files in-place. > > into this core-updates cycle. What do you all think? > > If we don't do it then a lot of Python programs (the ones who use > "console_scripts" in setup.py as they should) will not work (because we emit > a shell script wrapper and Python tries to import it - that's going to end > badly). On the other hand, I don't know the effect on other programs (read: > I didn't build the world with it - but I did build quite a few Python > programs). You can try it with the guix package ledger-agent and try to > invoke "ledger-agent". > > The patch only affects files whose names end in ".py" since Python's importer > will only find those in any case. So its possible ill effect is limited. ^^^ Correction: whose names end in ".py" and that end up in "bin" or "sbin". Otherwise it would be common. > > Hartmut, what do you think? -- W: https://www.friendly-machines.at/