aports/testing/py3-daemon/remove-docutils-depend.patch
Antoine Martin 947e9007e4 testing/py3-daemon: patch out docutils as required dependency
Upstream appends docutils as a require dependency even through it is
only necessary for building. This thus fails a pip check when installed.
This change patches out that append logic in setup.py
2024-05-21 18:12:15 +00:00

17 lines
455 B
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff --git a/setup.py.orig b/setup.py
index 24f0e7cb98a..d712294c20b 100644
--- a/setup.py.orig
+++ b/setup.py
@@ -96,11 +96,6 @@ setup_kwargs = dict(
],
)
-# Docutils is only required for building, but Setuptools can't distinguish
-# dependencies properly.
-# See <URL:https://github.com/pypa/setuptools/issues/457>.
-setup_kwargs['install_requires'].append("docutils")
-
if __name__ == '__main__':
setup(**setup_kwargs)