# HG changeset patch # User Martin von Zweigbergk # Date 2020-08-02 17:08:18 # Node ID 8bc9d045005a6f3f8e10f120f4058129277d7fce # Parent 3c2fae87bd5a3d1031d7c2d9f60e70c03bbf64e0 packaging: make "mercurial.defaultrc" a key in package_data Before this patch, we had a `mercurial` key with a `defaultrc/*.rc` value. It seems more correct to have a `mercurial.defaultrc` key with a `*.rc` value since `mercurial.defaultrc` it became a pacakge in 1390bb81163e (help: get helptext/ data from `resources` module if available, 2019-12-12). Differential Revision: https://phab.mercurial-scm.org/D8856 diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -1614,11 +1614,8 @@ if os.name == 'nt': msvccompiler.MSVCCompiler = HackedMSVCCompiler packagedata = { - 'mercurial': [ - 'locale/*/LC_MESSAGES/hg.mo', - 'defaultrc/*.rc', - 'dummycert.pem', - ], + 'mercurial': ['locale/*/LC_MESSAGES/hg.mo', 'dummycert.pem',], + 'mercurial.defaultrc': ['*.rc',], 'mercurial.helptext': ['*.txt',], 'mercurial.helptext.internals': ['*.txt',], }