equal
deleted
inserted
replaced
586 extra_link_args=osutil_ldflags, |
586 extra_link_args=osutil_ldflags, |
587 depends=common_depends), |
587 depends=common_depends), |
588 Extension('hgext.fsmonitor.pywatchman.bser', |
588 Extension('hgext.fsmonitor.pywatchman.bser', |
589 ['hgext/fsmonitor/pywatchman/bser.c']), |
589 ['hgext/fsmonitor/pywatchman/bser.c']), |
590 ] |
590 ] |
|
591 |
|
592 sys.path.insert(0, 'contrib/python-zstandard') |
|
593 import setup_zstd |
|
594 extmodules.append(setup_zstd.get_c_extension('mercurial.zstd')) |
591 |
595 |
592 try: |
596 try: |
593 from distutils import cygwinccompiler |
597 from distutils import cygwinccompiler |
594 |
598 |
595 # the -mno-cygwin option has been deprecated for years |
599 # the -mno-cygwin option has been deprecated for years |