diff --git a/setup.py b/setup.py index 23db406..2ac943b 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,10 @@ PYPY = hasattr(sys, "pypy_version_info") JYTHON = sys.platform.startswith("java") -compile_args = ["-Wall", "-Wextra", "-Wno-unknown-pragmas"] +if os.name == 'nt': + compile_args = [] +else: + compile_args = ["-Wall", "-Wextra", "-Wno-unknown-pragmas"] ext_module = [ Extension(