#93 Build dependencies are wrongly listed as runtime dependencies (`install_requires`)
Closed: Fixed by bignose. Opened by mgorny.

The package lists docutils, packaging and setuptools as runtime dependencies (install_requires). However, these packages are not used by the installed Python packages and therefore are not runtime dependencies. Listing them is causing them to be incorrectly installed when python-daemon is installed from a binary package. Furthermore, this requires patching distribution packages to be able to list build and runtime dependencies correctly, as otherwise not installing these packages (as they are unnecessary) will trigger integrity check (pip check) failures.

I see there's a reference to a setuptools bug report that was rejected as making incorrect assumptions about what setup.py ought to do.


Thank you. This issue will be resolved by migrating the build system to conform with PEP 517, which can correctly handle build-time versus install-time dependencies.

Metadata Update from @bignose:
- Issue assigned to bignose
- Issue marked as depending on: #71
- Issue tagged with: confirmed

With the migration of the build system to conform with PEP 517 and PEP 621, merged to the main branch, this issue is resolved.

Metadata Update from @bignose:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

There is still an unnecessary runtime dependency on setuptools listed in dependencies section (yet the code does not use setuptools or pkg_resources).

Metadata Update from @mgorny:
- Issue status updated to: Open (was: Closed)

There is still an unnecessary runtime dependency on setuptools listed in dependencies section (yet the code does not use setuptools or pkg_resources).

Thank you. I have now created issue 97 to track that bug.

Metadata Update from @bignose:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata