Classify as Python 3 only in setup.py.

This commit is contained in:
Neil Schemenauer 2017-11-27 10:23:27 -08:00
parent 34d4762fa9
commit c385bf9681
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,8 @@ if build_extensions:
# If we're running Python 2.3, add extra information
if hasattr(core, 'setup_keywords'):
if 'classifiers' in core.setup_keywords:
kw['classifiers'] = ['Development Status :: 5 - Production/Stable',
kw['classifiers'] = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'License :: DFSG approved',
'Intended Audience :: Developers',
@ -58,6 +59,7 @@ if hasattr(core, 'setup_keywords'):
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Programming Language :: Python :: 3 :: Only',
]
if 'download_url' in core.setup_keywords:
kw['download_url'] = ('http://quixote.ca/releases/'