Python

Poetry equivalent of `python setup.py develop`

To use the package you’re working on directly in the project itself. Go to the directory where your package is being developed, where the pyproject.toml file resides:

poetry install
poetry shell

I fought days with it and it ended up being that simple. *Facepalm*.

If necessary, remove the previously created venv first.

To use it in a different project though, you’d probably need something like this.

Standard

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.