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          | h.goe...@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



Reply via email to