comparison setup.py @ 37180:922b3fae9c7d

setup: register zope.interface packages and compile C extension With this change, we should be able to use zope.interface in core! Differential Revision: https://phab.mercurial-scm.org/D2932
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 21 Mar 2018 18:32:47 -0700
parents a1d2d0420e22
children 611e466662af
comparison
equal deleted inserted replaced
37179:49630e75635d 37180:922b3fae9c7d
810 'mercurial.pure', 810 'mercurial.pure',
811 'mercurial.thirdparty', 811 'mercurial.thirdparty',
812 'mercurial.thirdparty.attr', 812 'mercurial.thirdparty.attr',
813 'mercurial.thirdparty.cbor', 813 'mercurial.thirdparty.cbor',
814 'mercurial.thirdparty.cbor.cbor2', 814 'mercurial.thirdparty.cbor.cbor2',
815 'mercurial.thirdparty.zope',
816 'mercurial.thirdparty.zope.interface',
815 'mercurial.utils', 817 'mercurial.utils',
816 'hgext', 'hgext.convert', 'hgext.fsmonitor', 818 'hgext', 'hgext.convert', 'hgext.fsmonitor',
817 'hgext.fsmonitor.pywatchman', 'hgext.highlight', 819 'hgext.fsmonitor.pywatchman', 'hgext.highlight',
818 'hgext.largefiles', 'hgext.lfs', 'hgext.narrow', 820 'hgext.largefiles', 'hgext.lfs', 'hgext.narrow',
819 'hgext.zeroconf', 'hgext3rd', 821 'hgext.zeroconf', 'hgext3rd',
892 Extension('mercurial.cext.osutil', ['mercurial/cext/osutil.c'], 894 Extension('mercurial.cext.osutil', ['mercurial/cext/osutil.c'],
893 include_dirs=common_include_dirs, 895 include_dirs=common_include_dirs,
894 extra_compile_args=osutil_cflags, 896 extra_compile_args=osutil_cflags,
895 extra_link_args=osutil_ldflags, 897 extra_link_args=osutil_ldflags,
896 depends=common_depends), 898 depends=common_depends),
899 Extension(
900 'mercurial.thirdparty.zope.interface._zope_interface_coptimizations', [
901 'mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.c',
902 ]),
897 Extension('hgext.fsmonitor.pywatchman.bser', 903 Extension('hgext.fsmonitor.pywatchman.bser',
898 ['hgext/fsmonitor/pywatchman/bser.c']), 904 ['hgext/fsmonitor/pywatchman/bser.c']),
899 ] 905 ]
900 906
901 sys.path.insert(0, 'contrib/python-zstandard') 907 sys.path.insert(0, 'contrib/python-zstandard')