D2932: setup: register zope.interface packages and compile C extension
This revision was automatically updated to reflect the committed changes. Closed by commit rHG922b3fae9c7d: setup: register zope.interface packages and compile C extension (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2932?vs=7351=7399 REVISION DETAIL https://phab.mercurial-scm.org/D2932 AFFECTED FILES contrib/import-checker.py setup.py CHANGE DETAILS diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -812,6 +812,8 @@ 'mercurial.thirdparty.attr', 'mercurial.thirdparty.cbor', 'mercurial.thirdparty.cbor.cbor2', +'mercurial.thirdparty.zope', +'mercurial.thirdparty.zope.interface', 'mercurial.utils', 'hgext', 'hgext.convert', 'hgext.fsmonitor', 'hgext.fsmonitor.pywatchman', 'hgext.highlight', @@ -894,6 +896,10 @@ extra_compile_args=osutil_cflags, extra_link_args=osutil_ldflags, depends=common_depends), +Extension( +'mercurial.thirdparty.zope.interface._zope_interface_coptimizations', [ +'mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.c', +]), Extension('hgext.fsmonitor.pywatchman.bser', ['hgext/fsmonitor/pywatchman/bser.c']), ] diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -37,6 +37,8 @@ 'mercurial.pure.parsers', # third-party imports should be directly imported 'mercurial.thirdparty', +'mercurial.thirdparty.zope', +'mercurial.thirdparty.zope.interface', ) # Whitelist of symbols that can be directly imported. To: indygreg, #hg-reviewers, durin42 Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D2932: setup: register zope.interface packages and compile C extension
indygreg updated this revision to Diff 7351. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2932?vs=7245=7351 REVISION DETAIL https://phab.mercurial-scm.org/D2932 AFFECTED FILES contrib/import-checker.py setup.py CHANGE DETAILS diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -812,6 +812,8 @@ 'mercurial.thirdparty.attr', 'mercurial.thirdparty.cbor', 'mercurial.thirdparty.cbor.cbor2', +'mercurial.thirdparty.zope', +'mercurial.thirdparty.zope.interface', 'mercurial.utils', 'hgext', 'hgext.convert', 'hgext.fsmonitor', 'hgext.fsmonitor.pywatchman', 'hgext.highlight', @@ -894,6 +896,10 @@ extra_compile_args=osutil_cflags, extra_link_args=osutil_ldflags, depends=common_depends), +Extension( +'mercurial.thirdparty.zope.interface._zope_interface_coptimizations', [ +'mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.c', +]), Extension('hgext.fsmonitor.pywatchman.bser', ['hgext/fsmonitor/pywatchman/bser.c']), ] diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -37,6 +37,8 @@ 'mercurial.pure.parsers', # third-party imports should be directly imported 'mercurial.thirdparty', +'mercurial.thirdparty.zope', +'mercurial.thirdparty.zope.interface', ) # Whitelist of symbols that can be directly imported. To: indygreg, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D2932: setup: register zope.interface packages and compile C extension
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY With this change, we should be able to use zope.interface in core! REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2932 AFFECTED FILES contrib/import-checker.py setup.py CHANGE DETAILS diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -810,6 +810,8 @@ 'mercurial.pure', 'mercurial.thirdparty', 'mercurial.thirdparty.attr', +'mercurial.thirdparty.zope', +'mercurial.thirdparty.zope.interface', 'mercurial.utils', 'hgext', 'hgext.convert', 'hgext.fsmonitor', 'hgext.fsmonitor.pywatchman', 'hgext.highlight', @@ -892,6 +894,10 @@ extra_compile_args=osutil_cflags, extra_link_args=osutil_ldflags, depends=common_depends), +Extension( +'mercurial.thirdparty.zope.interface._zope_interface_coptimizations', [ +'mercurial/thirdparty/zope/interface/_zope_interface_coptimizations.c', +]), Extension('hgext.fsmonitor.pywatchman.bser', ['hgext/fsmonitor/pywatchman/bser.c']), ] diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -37,6 +37,8 @@ 'mercurial.pure.parsers', # third-party imports should be directly imported 'mercurial.thirdparty', +'mercurial.thirdparty.zope', +'mercurial.thirdparty.zope.interface', ) # Whitelist of symbols that can be directly imported. To: indygreg, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel