I'm migrating from setup.py
to pyproject.toml
. The commands to install my package appear to be the same, but I can't find what the pyproject.toml
command for cleaning up build artifacts is. What is the equivalent to python setup.py clean --all
?
The distutils command clean is not needed for a pyproject.toml
based build. Modern tools invoking PEP517 / PEP518 hooks, such as build , create a temporary directory or a cache directory to store intermediate files while building, rather than littering the project directory with a build
subdirectory.
Anyway, it was not really an exciting command in the first place and rm -rf build
does the same job.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.