Skip to content

Commit ec7a961

Browse files
committed
Add support for uv while remaining compatible with pip
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent 0761431 commit ec7a961

File tree

4 files changed

+1786
-9
lines changed

4 files changed

+1786
-9
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Please create the relevant environment before the workshop. If you encounter pro
4646
```
4747
1. install Power Grid Model and some other packages we'll use for this workshop:
4848
```shell
49-
> pip install power-grid-model jupyter pandas matplotlib
49+
> pip install .
5050
```
5151
1. Now run jupyter notebook. It will probably (depending on your system) automatically open a browser at
5252
http://localhost:8888. If not, the console output will tell you where to find the jupyter notebook server.
@@ -82,7 +82,7 @@ Please create the relevant environment before the workshop. If you encounter pro
8282
If you know WSL2/Linux you should be able to configure environment yourself.
8383
8484
```shell
85-
> pip install power-grid-model jupyter pandas
85+
> pip install .
8686
> jupyter notebook
8787
```
8888

pyproject.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[project]
2+
name = "power-grid-model-workshop"
3+
version = "0.1.0"
4+
description = "A collection of Jupyter notebooks for Power Grid Model workshops"
5+
readme = "README.md"
6+
requires-python = ">=3.12"
7+
dependencies = [
8+
"jupyter>=1.1.1",
9+
"matplotlib>=3.10.1",
10+
"pandas>=2.2.3",
11+
"power-grid-model>=1.10.88",
12+
"power-grid-model-ds[visualizer]>=1.2.4",
13+
]
14+
15+
[tool.setuptools]
16+
packages = []

requirements.txt

-7
This file was deleted.

0 commit comments

Comments
 (0)