Skip to content

Commit

Permalink
Ensure that python_requires is checked during option processing. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 11, 2019
1 parent b31777c commit c3df086
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setuptools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from distutils.errors import DistutilsOptionError, DistutilsFileError
from setuptools.extern.packaging.version import LegacyVersion, parse
from setuptools.extern.packaging.specifiers import SpecifierSet
from setuptools.extern.six import string_types, PY3


Expand Down Expand Up @@ -554,6 +555,7 @@ def parsers(self):
'packages': self._parse_packages,
'entry_points': self._parse_file,
'py_modules': parse_list,
'python_requires': SpecifierSet,
}

def _parse_packages(self, value):
Expand Down

0 comments on commit c3df086

Please sign in to comment.