|
From: | Hartmut Goebel |
Subject: | Re: poetry: python-poetry? |
Date: | Sat, 5 Aug 2023 10:39:49 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
Am 31.07.23 um 04:05 schrieb Hilton Chain:
I think we can define library and CLI program separately, since Python libraries usually need to propagate some inputs, while CLI programs in /bin and /sbin do not, as they are wrapped by the build system.
I like the idea of "hiding" dependencies behind the script and not have them pollute the library path. And indeed I just thought about something like this when packaging vagrant (which is a rube-program).
If we implement such a thing, IMHO it should become a wrapper function, doing all the magic, so the program would defined as simple as
(define-public xxx (python-scripts-from-package python-xxx"xxx" "xxx3" "xxx-admin")) ; selecting scripts might be useful/necessary
And of course we should start providing such a thing for other languages, too.
-- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |
[Prev in Thread] | Current Thread | [Next in Thread] |