Hartmut Goebel <h.goe...@crazy-compilers.com> 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