mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
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
17 lines
455 B
Diff
17 lines
455 B
Diff
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)
|