Re:Hypermodern Python
by euler_angles on Thursday May 28, 2020 @09:16AM
(#23336861)
One thing that I haven't been able to figure out with the 20 minutes or so of reading about poetry that I just did -- does poetry support editable installs akin to pip install -e .?
[ Parent
| on HN ]
So you shouldn't need to use pip install -e . as poetry already configures your package to be installed as editable.
For adding a separate package in your filesystem, I believe using https://python-poetry.org/docs/dependency-specification/#pat... is what you are looking for
``` poetry add ../path/to/package ```
yes, thanks to PEP-517 and PEP-518, it just needs to have a build section, https://python-poetry.org/docs/pyproject/#poetry-and-pep-517