3 ms·
Okay, I see what you mean now. I was confused because Poetry declares dependencies in the pyproject.toml, but looking at the actual file, it does it in a Poetry
by StavrosK 8y ago
Okay, I see what you mean now. I was confused because Poetry declares dependencies in the pyproject.toml, but looking at the actual file, it does it in a Poetry-specific section, so it's not compatible with any of the other tools:
https://github.com/sdispater/poetry/blob/master/pyproject.toml https://github.com/sdispater/poetry/blob/master/pyproject.to...
- ubernostrum 8y agoAlternative packaging toolchains can use pyproject.toml that way; it's an extensible file. But you've caught on to the key thing, which is that neither they, nor the default setuptools-based toolchain, have to do that. The pyproject.toml file exists to solve the chicken-and-egg problem of specifying that you use an alternative toolchain, when figuring that out might otherwise be dependent on your preferred toolchain already being present and configured.