You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,20 @@ Fri 0 4
152
152
153
153
Note that these do have to be installed by the user separately.
154
154
155
+
## Development Setup
156
+
157
+
To set up a local development environment for linopy and to run the same tests that are run in the CI, you can run:
158
+
159
+
```sh
160
+
python -m venv venv
161
+
source venv/bin/activate
162
+
pip install uv
163
+
uv pip install -e .[dev,solvers]
164
+
pytest
165
+
```
166
+
167
+
The `-e` flag of the install command installs the `linopy` package in editable mode, which means that the virtualenv (and thus the tests) will run the code from your local checkout.
168
+
155
169
## Citing Linopy
156
170
157
171
If you use Linopy in your research, please cite the following paper:
0 commit comments