Skip to content
  • timeless's avatar
    setup: create a module for the modulepolicy · 17b85d739b62
    timeless authored
    Instead of rewriting __init__ to define the modulepolicy,
    write out a __modulepolicy__.py file like __version__.py
    
    This should work for both system-wide installation and in-place build. Therefore
    we can avoid relying on two separate modulepolicy rules, '@MODULELOADPOLICY@'
    and 'mercurial/modulepolicy'.
    17b85d739b62