# HG changeset patch # User Gregory Szorc # Date 1526152332 25200 # Node ID cd4959c33d1a91108f6a31554162986e53239f83 # Parent d9185fa1e8688345a93dc0228b2d57d5feb82a33 setup: reformat options argument This makes things a bit more easier to manage IMO. Differential Revision: https://phab.mercurial-scm.org/D3540 diff -r d9185fa1e868 -r cd4959c33d1a setup.py --- a/setup.py Sat May 12 10:53:53 2018 -0700 +++ b/setup.py Sat May 12 12:12:12 2018 -0700 @@ -1066,16 +1066,24 @@ package_data=packagedata, cmdclass=cmdclass, distclass=hgdist, - options={'py2exe': {'packages': ['hgdemandimport', 'hgext', 'email', - # implicitly imported per module policy - # (cffi wouldn't be used as a frozen exe) - 'mercurial.cext', - #'mercurial.cffi', - 'mercurial.pure']}, - 'bdist_mpkg': {'zipdist': False, - 'license': 'COPYING', - 'readme': 'contrib/macosx/Readme.html', - 'welcome': 'contrib/macosx/Welcome.html', - }, - }, + options={ + 'py2exe': { + 'packages': [ + 'hgdemandimport', + 'hgext', + 'email', + # implicitly imported per module policy + # (cffi wouldn't be used as a frozen exe) + 'mercurial.cext', + #'mercurial.cffi', + 'mercurial.pure', + ], + }, + 'bdist_mpkg': { + 'zipdist': False, + 'license': 'COPYING', + 'readme': 'contrib/macosx/Readme.html', + 'welcome': 'contrib/macosx/Welcome.html', + }, + }, **extra)