Skip to content

Commit 0bc77a3

Browse files
Merge pull request #36 from alliander-opensource/feature/poetry-to-uv2
Convert poetry to uv
2 parents 2ac6332 + 0dce393 commit 0bc77a3

5 files changed

Lines changed: 1231 additions & 2910 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ Remaining challenges solve are:
2929

3030
# Installation
3131

32-
To install the utility-route-designer package, use Python 3.12 with [Poetry](https://python-poetry.org/):
32+
To install the utility-route-designer package, use Python 3.12 with [uv](https://docs.astral.sh/uv/) package manager:
3333

3434
```bash
35-
poetry install
35+
uv sync
3636
```
3737

3838
# Usage
3939

4040
Running the main file will create utility routes for the five included cases in the `data/examples` folder. Optionally edit the configuration file `mcda_presets.py` to change the weights of the environmental criteria.
4141

4242
```bash
43-
poetry run python main.py
43+
uv run python main.py
4444
```
4545

4646
The results are placed in the `data/processed` folder:
@@ -55,7 +55,7 @@ View them in QGIS or similar GIS GUI:
5555
Run tests using pytest:
5656

5757
```bash
58-
poetry run python -m pytest tests/
58+
uv run python pytest
5959
```
6060
For quick experimentation, weights of existing criteria can be changed. This can be done by editing the `mcda_presets.py` file.
6161

0 commit comments

Comments
 (0)