# HG changeset patch # User Martin von Zweigbergk # Date 1596388098 25200 # 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 -r 3c2fae87bd5a -r 8bc9d045005a setup.py --- a/setup.py Thu Jul 30 12:22:41 2020 -0700 +++ b/setup.py Sun Aug 02 10:08:18 2020 -0700 @@ -1614,11 +1614,8 @@ 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',], }