diff options
| author | Hugo <hugovk@users.noreply.github.com> | 2018-04-26 18:06:09 +0300 |
|---|---|---|
| committer | Paul Ganssle <paul@ganssle.io> | 2018-05-24 14:32:31 -0400 |
| commit | 7392f01ffced3acfdef25b0b2d55cefdc6ee468a (patch) | |
| tree | af16caf760ae204ba437d0aa7a6b862fc85bb0b2 /pkg_resources/py31compat.py | |
| parent | e078d78a439591fd7028cf80ca0b7c12ae013d4d (diff) | |
| download | python-setuptools-git-7392f01ffced3acfdef25b0b2d55cefdc6ee468a.tar.gz | |
Drop support for EOL Python 3.3
Diffstat (limited to 'pkg_resources/py31compat.py')
| -rw-r--r-- | pkg_resources/py31compat.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg_resources/py31compat.py b/pkg_resources/py31compat.py index 331a51bb..fd4b6fd0 100644 --- a/pkg_resources/py31compat.py +++ b/pkg_resources/py31compat.py @@ -15,8 +15,7 @@ def _makedirs_31(path, exist_ok=False): # and exists_ok considerations are disentangled. # See https://github.com/pypa/setuptools/pull/1083#issuecomment-315168663 needs_makedirs = ( - sys.version_info < (3, 2, 5) or - (3, 3) <= sys.version_info < (3, 3, 6) or + sys.version_info.major == 2 or (3, 4) <= sys.version_info < (3, 4, 1) ) makedirs = _makedirs_31 if needs_makedirs else os.makedirs |
