Dear All,
Modules initialization script for Python has been renamed "env_modules.py"
and new installation options
--enable-set-pythonpath/--enable-append-pythonpath have been introduced to
provide a better "Pythonic" way to initialize the "module" Python function.
With --enable-set-pythonpath (enabled by default), PYTHONPATH is defined
when initializing Modules in the shell: "init" directory is added to this
variable.
With this change, it is now possible to initialize the "module" Python
function this way:
from env_modules import module
Note that a compatibility link "python.py" is created over "env_modules.py"
to maintain compatibility.
Many thanks to Byron Boulton for his contribution on this new feature.
Regards,
Xavier
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#43): https://lists.hpsf.io/g/modules-interest/message/43
Mute This Topic: https://lists.hpsf.io/mt/120294603/10150481
Group Owner: mod...@li...
Unsubscribe: https://lists.hpsf.io/g/modules-interest/unsub [mod...@li...]
-=-=-=-=-=-=-=-=-=-=-=-
|