diff --git a/cmake/support/run-scripts/module.in b/cmake/support/run-scripts/module.in index 1f2731575..7f52ed544 100755 --- a/cmake/support/run-scripts/module.in +++ b/cmake/support/run-scripts/module.in @@ -18,9 +18,3 @@ module-whatis "loads the @FLAVOR@ environment" setenv @FLAVOR_UPPER@ @CMAKE_INSTALL_PREFIX@/@DEST_DATADIR_COMPS@ prepend-path PATH @CMAKE_INSTALL_PREFIX@/@DEST_BINDIR@ prepend-path MANPATH @CMAKE_INSTALL_PREFIX@/@DEST_DATADIR_DOC@/man - -# Define PYTHONPATH to pick up NCrystal if McStas -if { "@FLAVOR@" == "mcstas" } { - prepend-path PYTHONPATH @CMAKE_INSTALL_PREFIX@/@FLAVOR@/@MCCODE_VERSION@/share/NCrystal/python/ -} -