Skip to content

Commit

Permalink
build: add make command for binder env
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed May 7, 2024
1 parent 7e4e0b0 commit 3b5d44e
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 268 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,22 @@ conda_install:
# create binder yml
binder_env:
mamba env export --name invert4geom --no-builds > binder/environment.yml
# delete last line
sed -i '$$d' binder/environment.yml
# add pip and optional packages
sed -i '$$a\ - pip\n - pip:' binder/environment.yml
sed -i '$$a\ - optuna>=3.1.0' binder/environment.yml
sed -i '$$a\ - botorch>=0.4.0' binder/environment.yml
sed -i '$$a\ - joblib' binder/environment.yml
sed -i '$$a\ - psutil' binder/environment.yml
sed -i '$$a\ - tqdm_joblib' binder/environment.yml
sed -i '$$a\ - pyvista' binder/environment.yml
sed -i '$$a\ - trame' binder/environment.yml
sed -i '$$a\ - ipywidgets' binder/environment.yml
sed -i '$$a\ - matplotlib' binder/environment.yml
sed -i '$$a\ - seaborn' binder/environment.yml
sed -i '$$a\ - ipython' binder/environment.yml
# sed -i '$$a\ - ' binder/environment.yml

# create ReadTheDocs yml
RTD_env:
Expand Down

0 comments on commit 3b5d44e

Please sign in to comment.