I plan to implement option 1 by adding a "sitecustomize.py" (better than modify "site.py") into the python packages, and modify "search-path-specification" to use "GUIX_PYTHON_X_Y_SITE_PACKAGES".
Sorry, do say, but does not work in a virtual environment, since
GUIX_PYTHON_X_Y_SITE_PACKAGES will be added unconditionally. Also
I assume this will execute site.main() twice.
-- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |