3 ms·
But you still need a pyproject.toml, which is just a setup.py in a different form. One gripe with pyproject.toml is that I can’t do editable installs (i.e ‘pip
by sonthonax 5y ago
But you still need a pyproject.toml, which is just a setup.py in a different form.
One gripe with pyproject.toml is that I can’t do editable installs (i.e ‘pip install -e path/to/package/‘) with it. Highly annoying when trying to patch packages.
- miguendes 5y agoYou actually can but it's not documented I guess. I remember finding it when I dug the source code. [tool.poetry.dependencies] my-package = { "path" = "path/to/package", develop = true } This way you can patch my-package and poetry will always install the latest state of it.
- nromiun 5y agoTrue. I guess I just prefer pyproject.toml, it is definitely more minimal for my use cases.