guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 05/16] gnu: Add python-testpath.


From: Ricardo Wurmus
Subject: Re: [PATCH 05/16] gnu: Add python-testpath.
Date: Fri, 4 Nov 2016 11:25:56 +0100
User-agent: mu4e 0.9.16; emacs 26.0.50.1

Hartmut Goebel <address@hidden> writes:

> Am 01.11.2016 um 13:20 schrieb Ricardo Wurmus:
>> +                                (assoc-ref outputs "out")
>> +                                "/lib/python"
>> +                                (string-take (string-take-right
>> +                                              (assoc-ref inputs "python") 
>> 5) 3)
>> +                                "/site-packages/testpath")))
>
> python-build-system contains a function "python-version", which would
> give cleaner code here. Unfortunatly this function is private. But the
> new python build system exports a function "site-packages" which does
> exactly this.

That’s good to know!  I’m looking forward to updating the packages that
currently contain snippets like the above.

~~ Ricardo



reply via email to

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