[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29856] [PATCH core-updates] guix: python-build-system: Modify ".py"
From: |
Danny Milosavljevic |
Subject: |
[bug#29856] [PATCH core-updates] guix: python-build-system: Modify ".py" files in-place. |
Date: |
Wed, 27 Dec 2017 01:23:26 +0100 |
On Tue, 26 Dec 2017 14:10:13 -0500
Leo Famulari <address@hidden> wrote:
> On Tue, Dec 26, 2017 at 01:21:05PM +0100, Danny Milosavljevic wrote:
> > * guix/build/python-build-system.scm (wrap-python-program): New variable.
> > (wrap-program*): New variable.
> > (wrap): Use wrap-program*.
>
> The idea here is to avoid renaming the Python executables to .foo-real,
> right?
Yes, especially since Python itself sometimes imports those and then it's
tripping over the bash script when it expected a Python script.