Blob Blame History Raw
--- zstd-1.3.8.1/setup.py.orig	2019-03-04 17:40:51.208528890 +0700
+++ zstd-1.3.8.1/setup.py	2019-03-04 17:58:37.644953996 +0700
@@ -97,6 +97,8 @@
 class ZstdBuildExt( build_ext ):
 
     def build_extensions(self):
+        if 'test' in sys.argv: return
+
         c = self.compiler.compiler_type
         if c in COPT:
            for e in self.extensions: