Skip to content

Commit 5535c79

Browse files
committed
small fixes
1 parent 2eae684 commit 5535c79

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
SERVICES_DIR := services
22

33
install:
4-
@for f in $(shell ls ${SERVICES_DIR}); do pip install ${SERVICES_DIR}/$${f}; done
4+
@for f in $(shell ls ${SERVICES_DIR}); do poetry install -C ${SERVICES_DIR}/$${f}; done
55

66
install-dev:
7-
@for f in $(shell ls ${SERVICES_DIR}); do pip install -e ${SERVICES_DIR}/$${f}[dev]; done
7+
@for f in $(shell ls ${SERVICES_DIR}); do pip install -e ${SERVICES_DIR}/$${f};poetry install -C ${SERVICES_DIR}/$${f} --only dev --no-root; done
88

99
test:
10-
@for f in $(shell ls ${SERVICES_DIR}); do cd ${SERVICES_DIR}/$${f}; pytest; cd ../..; done
10+
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f}; pytest; cd ../..; done
1111

1212
lint:
1313
# lint examples
1414
flake8 --toml-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml --black-config $(word 1, $(wildcard $(SERVICES_DIR)/*))/pyproject.toml examples;
1515
# lint services
16-
@for f in $(shell ls ${SERVICES_DIR}); do cd ${SERVICES_DIR}/$${f}; flake8 .; cd ../..; done
17-
16+
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};flake8 .; cd ../..; done

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ This allows you to use any services that the SDK offers.
2929

3030

3131
## Installation from source
32+
For an installation from source `poetry` is required.
33+
It can be installed with the following command:
34+
```bash
35+
pip install poetry
36+
```
3237

33-
You can also install the packages from source by replacing the package-name by the path to the code.
34-
The path can be local, but can also point to a git-repository. For an installation using local code from the root folder of the repository this can look like the following:
38+
In order to install the code from source you have to execute the following code:
3539
```bash
3640
pip install services/<service-name>
3741
```

0 commit comments

Comments
 (0)