MINGW-packages/mingw-w64-python-pycurl/002-pycurl-docdir-path-fix.patch
2022-10-30 02:02:05 +08:00

12 lines
468 B
Diff

--- pycurl-REL_7_45_1-orig/setup.py 2022-03-13 15:13:55.000000000 +0800
+++ pycurl-REL_7_45_1/setup.py 2022-10-30 01:46:17.984959200 +0800
@@ -701,7 +701,7 @@
def get_data_files():
# a list of tuples with (path to install to, a list of local files)
data_files = []
- if sys.platform == "win32":
+ if str.find(sys.version, "MSC") >= 0:
datadir = os.path.join("doc", PACKAGE)
else:
datadir = os.path.join("share", "doc", PACKAGE)