Skip to content
Snippets Groups Projects
Commit 7d4d0429 authored by durin42's avatar durin42
Browse files

setup.py: move from dict() construction to {} literals

The latter are both faster and more consistent across Python 2 and 3.
parent c69f6290
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment