File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -357,10 +357,11 @@ def _localInstallDIRAC(self):
357357 self ._saveEnvInFile ()
358358
359359 # 7. pip install DIRAC[pilot]
360- pipInstalling = "pip install %s " % self .pp .pipInstallOptions
360+ pipInstallingPrefix = "pip install %s " % self .pp .pipInstallOptions
361361
362362 if self .pp .modules : # install a non-released (on pypi) version
363363 for modules in self .pp .modules .split ("," ):
364+ pipInstalling = pipInstallingPrefix
364365 branch = project = ""
365366 elements = modules .split (":::" )
366367 url = ""
@@ -385,9 +386,9 @@ def _localInstallDIRAC(self):
385386 else :
386387 # pip install DIRAC[pilot]==version ExtensionDIRAC[pilot]==version_ext
387388 if not self .releaseVersion or self .releaseVersion in ["master" , "main" , "integration" ]:
388- cmd = "%s %sDIRAC[pilot]" % (pipInstalling , self .pp .releaseProject )
389+ cmd = "%s %sDIRAC[pilot]" % (pipInstallingPrefix , self .pp .releaseProject )
389390 else :
390- cmd = "%s %sDIRAC[pilot]==%s" % (pipInstalling , self .pp .releaseProject , self .releaseVersion )
391+ cmd = "%s %sDIRAC[pilot]==%s" % (pipInstallingPrefix , self .pp .releaseProject , self .releaseVersion )
391392 retCode , output = self .executeAndGetOutput (cmd , self .pp .installEnv )
392393 if retCode :
393394 self .log .error ("Could not pip install %s [ERROR %d]" % (self .releaseVersion , retCode ))
You can’t perform that action at this time.
0 commit comments