Commit 27b7d4e4 authored by Jason R. Coombs's avatar Jason R. Coombs

Only rely on pep420 for Python 3.3 and 3.4 where method_from_spec isn't available.

parent 17f72f5b
...@@ -36,7 +36,7 @@ class Installer: ...@@ -36,7 +36,7 @@ class Installer:
_nspkg_tmpl = ( _nspkg_tmpl = (
"import sys, types, os, importlib.util, importlib.machinery", "import sys, types, os, importlib.util, importlib.machinery",
"pep420 = sys.version_info > (3, 3)", "pep420 = (3, 3) < sys.version_info < (3, 5)",
"has_mfs = sys.version_info > (3, 5)", "has_mfs = sys.version_info > (3, 5)",
"p = os.path.join(%(root)s, *%(pth)r)", "p = os.path.join(%(root)s, *%(pth)r)",
"ie = os.path.exists(os.path.join(p,'__init__.py'))", "ie = os.path.exists(os.path.join(p,'__init__.py'))",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment