summaryrefslogtreecommitdiffstats
path: root/external/lxml/replace-setuptools-with-distutils.patch.1
blob: 5275e40312c8668f1112c120efed23cd9f2d5aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff -ur lxml.org/setupinfo.py lxml/setupinfo.py
--- lxml.org/setupinfo.py	2023-10-20 10:32:17.921500435 +0200
+++ lxml/setupinfo.py	2023-10-20 10:33:40.303323572 +0200
@@ -4,7 +4,7 @@
 import os.path
 import subprocess
 
-from setuptools.command.build_ext import build_ext as _build_ext
+from distutils.command.build_ext import build_ext as _build_ext
 from distutils.core import Extension
 from distutils.errors import CompileError, DistutilsOptionError
 from versioninfo import get_base_dir
diff -ur lxml.org/setup.py lxml/setup.py
--- lxml.org/setup.py	2023-10-20 10:32:17.949501053 +0200
+++ lxml/setup.py	2023-10-20 10:33:09.082631759 +0200
@@ -217,9 +217,10 @@
     # `Unknown distribution option: 'bugtrack_url'`
     # which distract folks from real causes of problems when troubleshooting
     # bugtrack_url="https://bugs.launchpad.net/lxml",
-    project_urls={
-        "Source": "https://github.com/lxml/lxml",
-    },
+    # same as for bugtrack_urls also for project_urls when using distutils instead of setuptools
+    #project_urls={
+    #    "Source": "https://github.com/lxml/lxml",
+    #},
     description=(
         "Powerful and Pythonic XML processing library"
         " combining libxml2/libxslt with the ElementTree API."