Skip to content

Commit 6809886

Browse files
committed
Add note about editable modules
1 parent 8586193 commit 6809886

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ Using PDM as a Python manager. Use `pdm run zsh` to activate a shell.
1111

1212
1. `invoke serve` or `invoke liveupdate`
1313

14+
## Editable modules
15+
16+
This isn't clean, but it is a [work-around suggested on GitHub](https://github.com/pdm-project/pdm/issues/2256#issuecomment-1717984339):
17+
18+
```bash
19+
pdm run python -m pip install -e ../pelican-personal
20+
pdm run python -m pip install -e ../pelican-dltj-plugin
21+
```
22+
23+
`pdm sync --no-editable` will restore the virtual environment to what's in pyproject.toml.
24+
1425
## Historic Notes
1526

1627
- Files with `.markdown` extensions were converted from the Wordpress site (and still may need some manual editing)

0 commit comments

Comments
 (0)