Proper clean-up hook usable with pyproject-build #4121
-
After having read https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and having already introduced a working pyproject.toml, I'm in the process of replacing all invocations of So far so good, but I have custom build/clean steps in my Any hint on how to fix my plug-ins would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @ericzolf, is it possible for you to implement a One thing that I find very useful is to use |
Beta Was this translation helpful? Give feedback.
-
That could be an approach, but I thought to keep it in the back-end. This remark though makes me think that I might be poking in the wrong place: the back-end (setuptools) already knows how to clean-up, it's possibly rather the front-end (build) which doesn't use it properly.
Not an option in this case, I need something more specific, I can't risk lose all local changes each time I want to clean-up the build. |
Beta Was this translation helpful? Give feedback.
For now, the definition of PyPA for backend APIs does not include clean hooks. This might need to be discussed in the Python discourse.