Skip to content

Commit

Permalink
Don't install any dependencies from pip
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Mar 15, 2024
1 parent 96ea00d commit 9a65b89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions conda/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def build_conda_env(env_type, recreate, mpi, conda_mpi, version,
f'{activate_env} && ' \
f'cd {source_path} && ' \
f'rm -rf compass.egg-info && ' \
f'python -m pip install -e .'
f'python -m pip install --no-deps -e .'
check_call(commands, logger=logger)

print('Installing pre-commit\n')
Expand Down Expand Up @@ -649,11 +649,11 @@ def write_load_compass(template_path, activ_path, conda_base, env_type,
mkdir -p conda/logs
echo Reinstalling compass package in edit mode...
rm -rf compass.egg-info
python -m pip install -e . &> conda/logs/install_compass.log
python -m pip install --no-deps -e . &> conda/logs/install_compass.log
echo Done.
echo
fi
"""
""" # noqa: E501
else:
update_compass = ''

Expand Down Expand Up @@ -1053,7 +1053,7 @@ def main(): # noqa: C901
commands = f'source {conda_base}/etc/profile.d/conda.sh && ' \
f'conda activate {conda_env_name} && ' \
'cd ../build_mache/mache && ' \
'python -m pip install .'
'python -m pip install --no-deps .'
check_call(commands, logger=logger)

previous_conda_env = conda_env_name
Expand Down
2 changes: 1 addition & 1 deletion conda/configure_compass_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def main():
f'git clone -b {args.mache_branch} ' \
f'[email protected]:{args.mache_fork}.git mache && ' \
f'cd mache && ' \
f'python -m pip install .'
f'python -m pip install --no-deps .'

check_call(commands, logger=logger)

Expand Down

0 comments on commit 9a65b89

Please sign in to comment.