Also use fallback implementation on Mac
This commit is contained in:
parent
9cf03b08f7
commit
03e36aa55e
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -12,7 +12,7 @@ def read(name):
|
|||
|
||||
|
||||
extension_sources = ["cwcwidth/_impl.pyx"]
|
||||
if platform.system() == "Windows":
|
||||
if platform.system() in ("Windows", "Darwin"):
|
||||
extension_sources.append("cwcwidth/wcwidth.c")
|
||||
define_macros = [
|
||||
("USE_MK_WCWIDTH", None),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue