From 525d57a1b3eda54754b6ffa7cebec417f7f521c2 Mon Sep 17 00:00:00 2001 From: matpi Date: Fri, 3 Nov 2023 18:56:38 +0100 Subject: [PATCH] Try Windows compilation without monkey-patching distutils. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 2bf19e6..71ce1b4 100644 --- a/setup.py +++ b/setup.py @@ -15,8 +15,8 @@ # 2. Put the bin/ folder inside x86_64-8.1.0-posix-seh-rt_v6-rev0 in your # system PATH when compiling. # 3. The code below will moneky-patch distutils to work. - import distutils.cygwinccompiler - distutils.cygwinccompiler.get_msvcr = lambda: [] + #import distutils.cygwinccompiler + #distutils.cygwinccompiler.get_msvcr = lambda: [] # Make sure that pthreads is linked statically, otherwise we run into problems # on computers where it is not installed. extra_link_args = ["-static"]