You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-zstd/SOURCES/python-zstd-1.5.5.1-test-ex...

12 lines
268 B

--- a/setup.py
+++ b/setup.py
@@ -119,6 +119,8 @@ else:
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: