python-utils-r1.eclass: python_moduleinto, clarify relative path use

Clearly indicate that python_moduleinto can be safely called outside
of the environment with Python interpreter established, and that
a single call can set the correct relative path for multiple different
implementations.
This commit is contained in:
Michał Górny
2017-05-16 19:11:30 +02:00
parent d3ef3eb324
commit 0fcdbe8b3c
+6
View File
@@ -815,6 +815,12 @@ python_newscript() {
# When not set explicitly, the modules are installed to the top
# site-packages directory.
#
# In the relative case, the exact path is determined directly
# by each python_doscript/python_newscript function. Therefore,
# python_moduleinto can be safely called before establishing the Python
# interpreter and/or a single call can be used to set the path correctly
# for multiple implementations, as can be seen in the following example.
#
# Example:
# @CODE
# src_install() {