comparison setup.py @ 30698:c3db3bb4699f

setup: pass named argument to setup_zstd The next release from upstream adds another named argument to this function. Specify arguments by name so there is no ambiguity about which argument is being passed.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 04 Jan 2017 19:17:44 -0800
parents 0df215fba6cf
children 561a019c0268
comparison
equal deleted inserted replaced
30697:13d94304c8da 30698:c3db3bb4699f
613 ['hgext/fsmonitor/pywatchman/bser.c']), 613 ['hgext/fsmonitor/pywatchman/bser.c']),
614 ] 614 ]
615 615
616 sys.path.insert(0, 'contrib/python-zstandard') 616 sys.path.insert(0, 'contrib/python-zstandard')
617 import setup_zstd 617 import setup_zstd
618 extmodules.append(setup_zstd.get_c_extension('mercurial.zstd')) 618 extmodules.append(setup_zstd.get_c_extension(name='mercurial.zstd'))
619 619
620 try: 620 try:
621 from distutils import cygwinccompiler 621 from distutils import cygwinccompiler
622 622
623 # the -mno-cygwin option has been deprecated for years 623 # the -mno-cygwin option has been deprecated for years