From 5a7012d1e16485da9f2f028f7d181d09a589d915 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 7 Feb 2021 22:52:59 +0100 Subject: [PATCH] Only build with fallback implementation on Windows --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4fa9009..32d75d4 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, Extension extension_sources = ["cwcwidth/_impl.pyx"] -if platform.system() in ("Windows", "Darwin"): +if platform.system()== "Windows": extension_sources.append("cwcwidth/wcwidth.c") define_macros = [ ("USE_MK_WCWIDTH", None),