Skip to content

Commit

Permalink
chore: update makefile install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 21, 2024
1 parent a0ba8e6 commit e973bfb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PROJECT=invert4geom
STYLE_CHECK_FILES=.
VERSION := $(shell grep -m 1 'version =' pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)

print-% : ; @echo $* = $($*)
####
####
# install commands
Expand All @@ -17,10 +18,10 @@ remove:
mamba remove --name $(PROJECT) --all

pip_install:
pip install $(PROJECT)[all]
pip install $(PROJECT)[all]==$(VERSION)

conda_install:
mamba create --name $(PROJECT) --yes --force --channel conda-forge $(PROJECT) pytest pytest-cov ipykernel
mamba create --name $(PROJECT) --yes --force --channel conda-forge $(PROJECT)=$(VERSION) pytest pytest-cov ipykernel

####
####
Expand Down

0 comments on commit e973bfb

Please sign in to comment.