Blame SOURCES/python-zstd-1.5.5.1-test-external.patch
|
rdobuilder |
278a57 |
--- a/setup.py
|
|
rdobuilder |
278a57 |
+++ b/setup.py
|
|
rdobuilder |
278a57 |
@@ -119,6 +119,8 @@ else:
|
|
rdobuilder |
278a57 |
class ZstdBuildExt( build_ext ):
|
|
rdobuilder |
278a57 |
|
|
rdobuilder |
278a57 |
def build_extensions(self):
|
|
rdobuilder |
278a57 |
+ if 'test' in sys.argv: return
|
|
rdobuilder |
278a57 |
+
|
|
rdobuilder |
278a57 |
c = self.compiler.compiler_type
|
|
rdobuilder |
278a57 |
if c in COPT:
|
|
rdobuilder |
278a57 |
for e in self.extensions:
|