diff --git a/bob/devtools/scripts/create.py b/bob/devtools/scripts/create.py index bdd7c120118585897a438cf04e3d6d0d81e20648..d97b7fb47640dc23880678e251426f5c526aec37 100644 --- a/bob/devtools/scripts/create.py +++ b/bob/devtools/scripts/create.py @@ -279,6 +279,9 @@ def create( cmd = [conda, "run", "--live-stream", "--name", name, "pip", "install"] cmd += pip_extras - subprocess.run(cmd, check=True, bufsize=1) + if not dry_run: + subprocess.run(cmd, check=True, bufsize=1) + else: + logger.info(f"Command: {' '.join(cmd)}") echo_normal(f">>> Execute on your shell: \"conda activate {name}\"")