2 ms·
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
by euler_angles 6y ago
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 .?
- npage97 6y agoSo 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/#path-dependencies https://python-poetry.org/docs/dependency-specification/#pat... is what you are looking for ``` poetry add ../path/to/package ```
- arthmer 6y agoyes, 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 https://python-poetry.org/docs/pyproject/#poetry-and-pep-517