# HG changeset patch # User Franz Glasner # Date 1641732669 -3600 # Node ID 79d1e2399af61bfdf87985cc81102f1e964bc655 # Parent eac8e2d3933c829291bd266912a0614869669767 Style diff -r eac8e2d3933c -r 79d1e2399af6 setup.py --- a/setup.py Sun Jan 09 13:50:52 2022 +0100 +++ b/setup.py Sun Jan 09 13:51:09 2022 +0100 @@ -74,7 +74,7 @@ except ValueError: pure_only_idx = None else: - del sys.argv[pure_only_idx] + del sys.argv[pure_only_idx] # @@ -86,14 +86,17 @@ print("removing `%s.egg-info'" % (PROJECT_NAME,)) shutil.rmtree(PROJECT_NAME + ".egg-info") -if pure_only_idx is None: +if pure_only_idx is None: if wcp_idx is None: # # Handle the optinal C-extension for Python3.7+ and CPython only. # PyPy does not need this. # - # The C-extension uses multi-phase module initialization (PEP 489, PY 3.5+) + # + # The C-extension uses multi-phase module initialization + # (PEP 489) which is PY 3.5+. + # if (platform.python_implementation() == "CPython" and (sys.version_info[0] > 3 or (sys.version_info[0] == 3 and sys.version_info[1] >= 5))):