23 karma · joined Apr 8, 2021 (5y ago) · 11 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
If you've never run into setuptools compatibility problems, you've either been much luckier than me, or you haven't done much with Python packages.
Vanilla ubuntu used to come with a version of setuptools which didn't work for installing many recent packages.
comment 5y ago · link · parent
Poetry doesn't fragment the ecosystem. Unlike setuptools it uses pyproject.toml, which can be read by other tools, and is the correct way of storing package configuration.
A package built using Poetry is installable without Poetry in the exact same way as one built using setuptools.
comment 5y ago · link · parent
comment 5y ago · link · parent
The author is correct that you want a tool such as flit or poetry which will work with pyproject.toml. Setting up a basic package will be no harder than using setuptools, and it is much more future-proof. You won't have to copy-paste some other crufty setup config either.
It is fair that you don't need all the external tools in this tutorial. In particular, using make is very silly since you can configure different linting and testing workflows directly in pyproject.toml, rather than pull in a whole other system which only works decently on *nix. Poetry also removes the need for tox.