The 'setup.py' file declares project configuration for packaging; for this purpose it will remain.
The file has also been used as a command-line tool for various Setuptools features. These command-line uses of 'setup.py' are now officially deprecated, and Setuptools will warn when they are used; see https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for a detailed discussion.
Re-work the packaging and build system, to remove all invocations of the setup module as a command-line program.
setup
The work-in-progress branch wip/issue/87/stop-using-setup-cli intends to implement this change completely.
@attila-lendvai, can you please try the code from that branch? I think it will be of interest to your packaging work, to ensure that the build system can do everything it needs with no invocation of 'setup.py' as a program.
This is now addressed by migrating to a PEP 517 conformant build system specification. The changes are merged to 'main' as of commit bfe709bc.
Metadata Update from @bignose: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
I have now released ‘python-daemon’ version “3.0.2”, including the fix for this bug report.