Hacker News new | ask | show | jobs
by ketozhang 960 days ago
It is not deprecated. Calling setup.py directly is (i.e., `python setup.py sdist`)

Modern way of building a package is to use a build frontend. Most notably is the PyPA's build package.

    python -m build .
Most project managers like poetry has this built-in with it's `poetry build` command.