Mercurial > public > mercurial-scm > hg
comparison contrib/python-zstandard/setup.py @ 38186:c0081d3e1598 stable
zstandard: pull in bug fixes from upstream 0.9.1 release (issue5884)
This changeset contains the meaningful code changes from
python-zstandard's 0.9.1 release. The main fix is to restore
support for compiling with mingw.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 06 Jun 2018 09:14:33 -0700 |
parents | b1fb341d8a61 |
children | 675775c33ab6 |
comparison
equal
deleted
inserted
replaced
38185:3277940a935f | 38186:c0081d3e1598 |
---|---|
31 SYSTEM_ZSTD = True | 31 SYSTEM_ZSTD = True |
32 sys.argv.remove('--system-zstd') | 32 sys.argv.remove('--system-zstd') |
33 | 33 |
34 if '--warnings-as-errors' in sys.argv: | 34 if '--warnings-as-errors' in sys.argv: |
35 WARNINGS_AS_ERRORS = True | 35 WARNINGS_AS_ERRORS = True |
36 sys.argv.remote('--warning-as-errors') | 36 sys.argv.remove('--warning-as-errors') |
37 | 37 |
38 # Code for obtaining the Extension instance is in its own module to | 38 # Code for obtaining the Extension instance is in its own module to |
39 # facilitate reuse in other projects. | 39 # facilitate reuse in other projects. |
40 extensions = [ | 40 extensions = [ |
41 setup_zstd.get_c_extension(name='zstd', | 41 setup_zstd.get_c_extension(name='zstd', |