guix-devel
[Top][All Lists]
Advanced

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

Re: Building packages with python-3.4


From: Ludovic Courtès
Subject: Re: Building packages with python-3.4
Date: Mon, 24 Oct 2016 22:58:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Leo Famulari <address@hidden> skribis:

> On core-updates, we updated python to 3.5.2, but we kept 3.4.5 in case
> we needed it.
>
> I recently tried building python-cryptography with 3.4.5, like this:
>
>     (arguments
>      `(#:python ,python-3.4))
>
> But, it fails like this:
>
> patch-shebang: ./setup.py: warning: no binary for interpreter `python' found 
> in $PATH

I think you need to write:

  (arguments
   `(#:python ,(wrap-python3 python-3.4)))

That will provide ‘python’ and other commands without the ‘3’ prefix.

HTH, and sorry for the delay!

Ludo’.



reply via email to

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