Skip to content

Commit

Permalink
Merge pull request #94 from jdufresne/pyversion
Browse files Browse the repository at this point in the history
Pass python_requires argument to setuptools
  • Loading branch information
mgedmin committed Nov 12, 2018
2 parents 98d5278 + d830bed commit f7ccbaa
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions setup.py
Expand Up @@ -3,17 +3,10 @@
import email.utils
import os
import re
import sys

from setuptools import setup


if sys.version_info < (2, 7):
sys.exit("Python 2.7 or newer is required for check-manifest")

if (3, 0) <= sys.version_info < (3, 4):
sys.exit("Python 3.4 or newer is required for check-manifest")

here = os.path.dirname(__file__)

with open(os.path.join(here, 'README.rst')) as readme:
Expand Down Expand Up @@ -62,6 +55,7 @@
py_modules=['check_manifest'],
zip_safe=False,
test_suite='tests.test_suite',
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
install_requires=[],
extras_require={
'test': ['mock'],
Expand Down

0 comments on commit f7ccbaa

Please sign in to comment.