Hello,
The upcoming Modules 5.7 release introduces a new installation option:
--with-pythondir=DIR.
This option defines the directory where the env_modules Python module is
installed. Until now, env_modules.py was always placed in the shell
initialization script directory. With --with-pythondir, it can be
installed anywhere — for instance in the site-packages directory of the
Python installation available on your system, alongside the other Python
modules.
When installed into site-packages, import env_modules works out of the box,
without requiring the PYTHONPATH environment variable to be set. In that
case the --disable-set-pythonpath option may be used. Otherwise, when
--enable-set-pythonpath is active, the shell initialization scripts now add
the chosen directory (instead of the Modules init directory) to PYTHONPATH.
Whatever directory is chosen, the python.py symbolic link in the
initialization script directory keeps pointing to the module's location, so
existing setups are unaffected.
This change resolves issue #643. Thanks for your feedback and contributions!
Best regards,
Xavier
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#47): https://lists.hpsf.io/g/modules-interest/message/47
Mute This Topic: https://lists.hpsf.io/mt/120952614/10150481
Group Owner: mod...@li...
Unsubscribe: https://lists.hpsf.io/g/modules-interest/unsub [mod...@li...]
-=-=-=-=-=-=-=-=-=-=-=-
|