Skip to content

Commit f671563

Browse files
committed
fixes installations
1 parent 931abe4 commit f671563

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

clients/python/Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,16 @@ _check_venv_active:
9696
@python3 -c "import sys; assert sys.base_prefix!=sys.prefix"
9797

9898

99-
.PHONY: install-dev
100-
install-dev: python-client _check_venv_active ## installs osparc_client and osparc in edit mode
101-
python -m pip install -e artifacts/client
102-
python -m pip install -e .
103-
pip list
10499

100+
.PHONY: .install-dev-reqs
101+
.install-dev-reqs: _check_venv_active
102+
uv pip install -r $(CLIENTS_PYTHON_DIR)/requirements/dev.txt
105103

106-
#.PHONY: install-dev
107-
#install-dev: _check_venv_active ## install packages for development
108-
# pip install -r requirements/dev.txt
104+
.PHONY: install-dev
105+
install-dev: _check_venv_active .install-dev-reqs python-client ## installs osparc_client and osparc in edit mode
106+
uv pip install -e artifacts/client
107+
uv pip install -e .
108+
uv pip list
109109

110110
.PHONY: install-unit-test
111111
install-unit-test: _check_venv_active ## install packages for unit testing client
@@ -116,7 +116,7 @@ install-e2e-test: _check_venv_active ## install packages for e2e testing client
116116
uv pip install -r $(CLIENTS_PYTHON_DIR)/requirements/e2e-test.txt
117117

118118
.PHONY: install-doc
119-
install-doc: _check_venv_active install-dev ## install packages for generating documentation
119+
install-doc: _check_venv_active .install-dev-reqs ## install packages for generating documentation
120120
uv pip install -r $(CLIENTS_PYTHON_DIR)/requirements/doc.txt
121121

122122

clients/python/requirements/unit-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-r ../../../requirements.txt
2+
black
23
faker
34
pipdeptree
45
pipreqs

0 commit comments

Comments
 (0)