Skip to content

Commit fb51411

Browse files
committed
Drop extra check for multiple PYTHONPATH's
1 parent 46a52df commit fb51411

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

easybuild/framework/easyblock.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,9 +1454,7 @@ def make_module_extra(self, altroot=None, altversion=None):
14541454
use_ebpythonprefixes = 'Python' in self.cfg.dependencies(runtime_only=True) and \
14551455
build_option('prefer_ebpythonprefixes') and self.cfg['prefer_ebpythonprefixes']
14561456

1457-
if len(python_paths) > 1 and not use_ebpythonprefixes:
1458-
raise EasyBuildError('Multiple python paths requires EBPYTHONPREFIXES: ' + ', '.join(python_paths))
1459-
elif python_paths:
1457+
if python_paths:
14601458
# Add paths unless they were already added
14611459
if use_ebpythonprefixes:
14621460
if '' not in self.module_generator.added_paths_per_key['EBPYTHONPREFIXES']:

0 commit comments

Comments
 (0)