3 Commits

Author SHA1 Message Date
Wirawan Purwanto
d159d57578 * Third attempt to fix lmod "module" for ipython ("fix3")
(dated: 2020-06-09).
* Supports both Turing and Wahab.
* Allows both addition and deletion of paths from sys.path.

* Author's note: Later on, I discovered that these complex steps do not appear
  to be necessary, somehow the lmod Python commands were able to take care
  of additions and deletions through the modification of os.environ['PYTHONPATH']
  alone, so I am not sure if this fix is absolutely needed. (?)

  Sigs:
    # -rw------- 1 wpurwant users 3298 2020-06-09 20:07 lmod_python_fix3.py
    # 78abc7bae90bf23a42aa40285175ca48  lmod_python_fix3.py
2022-02-22 10:28:14 -05:00
Wirawan Purwanto
232cc5cafb * Second attempt to fix lmod "module" for ipython ("fix2")
(dated: 2020-06-09).
  WIP: Prevent indefinite lengthening of sys.path but not complete
  fix yet.

  Sigs:
    # -rw------- 1 wpurwant users 1290 2020-06-09 19:28 lmod_python_fix2.py
    # e218a4ac73762e0380c4bbe2290906b1  lmod_python_fix2.py
2022-02-22 10:22:45 -05:00
Wirawan Purwanto
5c0b516026 * First attempt to fix lmod "module" for ipython ("fix1")
(dated: 2020-06-09)

  Sigs:
    # -rw------- 1 wpurwant users 915 2020-06-09 17:20 lmod_python_fix1.py
    # bb42b2bde01f2e235eb205fe555fab9e  lmod_python_fix1.py
2022-02-22 10:16:47 -05:00