Skip to content

Commit

Permalink
specify supported Python versions in setup.py
Browse files Browse the repository at this point in the history
As suggested by hugovk in gcovr#195.

The classifiers now list all versions tested by Travis CI. This
excludes 2.6.

The "python_requires" setting is the minimum allowed version, and will
be checked by pip during installation.
  • Loading branch information
latk committed Jan 20, 2018
1 parent 01d0aa8 commit 8e802cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Expand Up @@ -34,6 +34,7 @@ def read(*rnames):
url='http://gcovr.com',
license='BSD',
platforms=["any"],
python_requires='>=2.6',
description='A Python script for summarizing gcov data.',
long_description=read('README.txt'),
classifiers=[
Expand All @@ -45,8 +46,11 @@ def read(*rnames):
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Unix Shell',
'Topic :: Software Development :: Libraries :: Python Modules'
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=['gcovr'],
keywords=['utility'],
Expand Down

0 comments on commit 8e802cd

Please sign in to comment.