setup.py: add metadata to register package to PyPI
This allows updating PyPI with just 'setup.py register' (assuming the user is
an owner or maintainer of the PyPI package).
--- a/setup.py Sat Feb 09 23:28:42 2013 +0000
+++ b/setup.py Mon Mar 04 10:13:28 2013 +0100
@@ -519,11 +519,36 @@
setup(name='mercurial',
version=setupversion,
- author='Matt Mackall',
- author_email='mpm@selenic.com',
+ author='Matt Mackall and many others',
+ author_email='mercurial@selenic.com',
url='http://mercurial.selenic.com/',
- description='Scalable distributed SCM',
- license='GNU GPLv2+',
+ download_url='http://mercurial.selenic.com/release/',
+ description=('Fast scalable distributed SCM (revision control, version '
+ 'control) system'),
+ long_description=('Mercurial is a distributed SCM tool written in Python.'
+ ' It is used by a number of large projects that require'
+ ' fast, reliable distributed revision control, such as '
+ 'Mozilla.'),
+ license='GNU GPLv2 or any later version',
+ classifiers=[
+ 'Development Status :: 6 - Mature',
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: System Administrators',
+ 'License :: OSI Approved :: GNU General Public License (GPL)',
+ 'Natural Language :: Danish',
+ 'Natural Language :: English',
+ 'Natural Language :: German',
+ 'Natural Language :: Italian',
+ 'Natural Language :: Japanese',
+ 'Natural Language :: Portuguese (Brazilian)',
+ 'Operating System :: Microsoft :: Windows',
+ 'Operating System :: OS Independent',
+ 'Operating System :: POSIX',
+ 'Programming Language :: C',
+ 'Programming Language :: Python',
+ 'Topic :: Software Development :: Version Control',
+ ],
scripts=scripts,
packages=packages,
py_modules=pymodules,