Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Dec 9, 2024
1 parent ae5f440 commit 3dd09ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
File renamed without changes.
3 changes: 1 addition & 2 deletions environments/unix-create-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ mamba create -n $ENV --yes -c conda-forge --strict-channel-priority --file requi
eval "$(conda shell.bash hook)"
conda activate $ENV
python -m pip --python $ENV_PATH uninstall $PACKAGE --yes
python -m pip --python $ENV_PATH install -e ../../.
python -m pip --python $ENV_PATH install -e ../.
python -m pip --python $ENV_PATH check
python -m ipykernel install --prefix $ENV_PATH --name $ENV --display-name "Python ($ENV)"
conda env export -n $ENV > environment.yml
conda list -n $ENV
jupyter kernelspec list
ipython -c "import $PACKAGE; print('$PACKAGE version', $PACKAGE.__version__)"
3 changes: 1 addition & 2 deletions environments/windows-create-env.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ conda env remove -n %ENV% --yes && ^
mamba create -n %ENV% --yes -c conda-forge --strict-channel-priority --file requirements.txt && ^
conda activate %ENV% && ^
python -m pip --python %ENV_PATH%\python.exe uninstall %PACKAGE% --yes && ^
python -m pip --python %ENV_PATH%\python.exe install -e ../../. && ^
python -m pip --python %ENV_PATH%\python.exe install -e ../. && ^
python -m pip --python %ENV_PATH%\python.exe check && ^
python -m ipykernel install --prefix %ENV_PATH% --name %ENV% --display-name "Python (%ENV%)" && ^
conda env export -n %ENV% > environment.yml && ^
conda list && ^
jupyter kernelspec list && ^
ipython -c "import %PACKAGE%; print('%PACKAGE% version', %PACKAGE%.__version__)"

0 comments on commit 3dd09ca

Please sign in to comment.