Skip to content
Snippets Groups Projects
Commit d0073e7c authored by Marko Mecina's avatar Marko Mecina
Browse files

detect Python venv for confignator installation

parent bf6ec5bb
Branches
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
all: install build-pc all: install build-pc
install: install-python-requirements install-confignator-userspace ccs-storage codeblockreusefeature install: install-python-requirements install-confignator ccs-storage codeblockreusefeature
databases: ccs-storage codeblockreusefeature databases: ccs-storage codeblockreusefeature
...@@ -13,7 +13,7 @@ install-confignator: ...@@ -13,7 +13,7 @@ install-confignator:
@echo "| installing confignator Python package |" @echo "| installing confignator Python package |"
@echo "+---------------------------------------+" @echo "+---------------------------------------+"
$(MAKE) build -C $(CURDIR)/Tst/confignator $(MAKE) build -C $(CURDIR)/Tst/confignator
pip install -U $(CURDIR)/Tst/confignator/dist/*.whl if [ -z $VIRTUAL_ENV ]; then pip install --user -U $(CURDIR)/Tst/confignator/dist/*.whl; else pip install -U $(CURDIR)/Tst/confignator/dist/*.whl; fi
@echo "+--------------------------------------+" @echo "+--------------------------------------+"
@echo "| installed confignator Python package |" @echo "| installed confignator Python package |"
@echo "+--------------------------------------+" @echo "+--------------------------------------+"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment