Skip to content

Commit 9457b71

Browse files
FalkTannhaeusermoble
authored andcommitted
Enable 'pip install' under Cygwin platform
1 parent 9b040c4 commit 9457b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
long_description = (this_directory / "README.md").read_text("utf-8")
1616

1717
# Set appropriate optimization flags
18-
if "win" in platform.lower() and not "darwin" in platform.lower():
18+
if "win" in platform.lower() and platform.lower() != 'cygwin' and not "darwin" in platform.lower():
1919
extra_compile_args = ["/O2"]
2020
else:
2121
extra_compile_args = ["-O3", "-w"]

0 commit comments

Comments
 (0)