mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Added source for OSX to activate environment
This commit is contained in:
@@ -123,8 +123,12 @@ def python_slave(key, platform, conda_env, cmake_args = [], cmake_env = {}, buil
|
||||
factory.addStep(Git(repourl='git://github.com/CoolProp/CoolProp', mode=git_mode, submodules = True, progress=True, haltOnFailure = True))
|
||||
# Remove the temporary folder for installs
|
||||
factory.addStep(RemoveDirectory(dir="build/install_root", haltOnFailure = True))
|
||||
if platform.find('OSX') > -1:
|
||||
source = 'source'
|
||||
else:
|
||||
source = ''
|
||||
|
||||
factory.addStep(ShellCommand(command=["activate",conda_env,"cmake", "..", "-DCOOLPROP_PYTHON_"+key+"=ON"]+cmake_args,
|
||||
factory.addStep(ShellCommand(command=[source, "activate",conda_env,"cmake", "..", "-DCOOLPROP_PYTHON_"+key+"=ON"]+cmake_args,
|
||||
env = cmake_env,
|
||||
workdir= working_folder,
|
||||
haltOnFailure = True))
|
||||
|
||||
Reference in New Issue
Block a user