comparison setup.py @ 23142:c4ce077588d0

config: introduce "built-in" default configuration settings in default.d This helps providing a more consistent user experience on all platforms and with all packaging. The exact location of default.d depends on how Mercurial is installed and whether it is 'frozen'. The exact location should never be relevant to users and is intentionally not explained in details in the documentation. It will however always be next to the help and templates files. Note that setting HGRCPATH also disables these defaults. I don't know if that should be considered a bug or a feature.
author Mads Kiilerich <madski@unity3d.com>
date Thu, 04 Sep 2014 21:36:35 +0200
parents e88a634e0195
children d66547df8207
comparison
equal deleted inserted replaced
23141:a440166d03fc 23142:c4ce077588d0
515 515
516 cygwinccompiler.Mingw32CCompiler = HackedMingw32CCompiler 516 cygwinccompiler.Mingw32CCompiler = HackedMingw32CCompiler
517 517
518 packagedata = {'mercurial': ['locale/*/LC_MESSAGES/hg.mo', 518 packagedata = {'mercurial': ['locale/*/LC_MESSAGES/hg.mo',
519 'help/*.txt', 519 'help/*.txt',
520 'default.d/*.rc',
520 'dummycert.pem']} 521 'dummycert.pem']}
521 522
522 def ordinarypath(p): 523 def ordinarypath(p):
523 return p and p[0] != '.' and p[-1] != '~' 524 return p and p[0] != '.' and p[-1] != '~'
524 525