setup.py: move from dict() construction to {} literals
The latter are both faster and more consistent across Python 2 and 3.
--- a/setup.py Wed Mar 12 13:21:30 2014 -0400
+++ b/setup.py Wed Mar 12 13:29:29 2014 -0400
@@ -554,9 +554,11 @@
package_data=packagedata,
cmdclass=cmdclass,
distclass=hgdist,
- options=dict(py2exe=dict(packages=['hgext', 'email']),
- bdist_mpkg=dict(zipdist=True,
- license='COPYING',
- readme='contrib/macosx/Readme.html',
- welcome='contrib/macosx/Welcome.html')),
+ options={'py2exe': {'packages': ['hgext', 'email']},
+ 'bdist_mpkg': {'zipdist': True,
+ 'license': 'COPYING',
+ 'readme': 'contrib/macosx/Readme.html',
+ 'welcome': 'contrib/macosx/Welcome.html',
+ },
+ },
**extra)