15
0
forked from pool/python-zstd
Files
python-zstd/test-external.patch
Markéta Machová 550a1cf68a - Update to 1.5.7.3
* Create context for compress one time on module init.
    Performance gain around 6%.
  * Init cores cache as early as possible on module init.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=40
2026-01-13 14:02:51 +00:00

16 lines
326 B
Diff

---
setup.py | 2 ++
1 file changed, 2 insertions(+)
--- 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: