Brett Cannon (@brettcannon@fosstodon.org).
I’m seeing a bit of accidental FUD aroundsetup.py
in relation topyproject.toml
in Python packaging that I want to clear up.
The key point is setup.py
isn’t going anywhere! If you want to keep using it to configure setuptools, then keep doing it! All you do in pyproject.toml
is specify setuptools are your build back-end.
The thing that HAS changed is setuptools deprecated calling setup.py
DIRECTLY; e.g., don’t do python3 setup.py bdist_wheel
anymore, do pipx run build
instead.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.