From 088954ae652f1e3b3789050daf1e67ee7590b6a4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 30 Jul 2023 18:47:49 +0530 Subject: [PATCH] xwin does not need ole header case fixes anymore --- setup/xwin.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/setup/xwin.py b/setup/xwin.py index bb140938c0..9703ee732f 100644 --- a/setup/xwin.py +++ b/setup/xwin.py @@ -2,7 +2,6 @@ # License: GPLv3 Copyright: 2023, Kovid Goyal -import os import shutil from setup import Command @@ -22,8 +21,5 @@ class XWin(Command): except FileNotFoundError: raise SystemExit('xwin not found install it from https://github.com/Jake-Shadle/xwin/releases') subprocess.check_call(cmd + ['splat', '--output', output_dir]) - base = f'{output_dir}/sdk/include/um' - for casefix in 'Ole2.h OleCtl.h OAIdl.h OCIdl.h'.split(): - os.link(f'{base}/{casefix.lower()}', f'{base}/{casefix}') shutil.rmtree(f'{cache_dir}/dl') shutil.rmtree(f'{cache_dir}/unpack')