Only build with fallback implementation on Windows
This commit is contained in:
parent
24d637d354
commit
5a7012d1e1
1 changed files with 1 additions and 1 deletions
2
setup.py
2
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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue