[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#29856] [PATCH core-updates] guix: python-build-system: Modify ".py"

From: Marius Bakke
Subject: [bug#29856] [PATCH core-updates] guix: python-build-system: Modify ".py" files in-place.
Date: Sun, 31 Dec 2017 16:02:30 +0100
User-agent: Notmuch/0.25.3 ( Emacs/25.3.1 (x86_64-pc-linux-gnu)

Danny Milosavljevic <address@hidden> writes:

> 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.

I wonder if this will fix <>.  "meson" is not
installed with a .py extension, but I guess we can call wrap-program*
on it.

Would it work to peek at the shebang instead of the file extension?

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]