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: Hartmut Goebel
Subject: Re: [PATCH 05/16] gnu: Add python-testpath.
Date: Wed, 2 Nov 2016 09:23:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

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.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |





reply via email to

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