We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ba8e6 commit e973bfbCopy full SHA for e973bfb
Makefile
@@ -1,6 +1,7 @@
1
PROJECT=invert4geom
2
-STYLE_CHECK_FILES=.
+VERSION := $(shell grep -m 1 'version =' pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
3
4
+print-% : ; @echo $* = $($*)
5
####
6
7
# install commands
@@ -17,10 +18,10 @@ remove:
17
18
mamba remove --name $(PROJECT) --all
19
20
pip_install:
- pip install $(PROJECT)[all]
21
+ pip install $(PROJECT)[all]==$(VERSION)
22
23
conda_install:
- mamba create --name $(PROJECT) --yes --force --channel conda-forge $(PROJECT) pytest pytest-cov ipykernel
24
+ mamba create --name $(PROJECT) --yes --force --channel conda-forge $(PROJECT)=$(VERSION) pytest pytest-cov ipykernel
25
26
27
0 commit comments