Mercurial > hgrepos > Python > libs > ConfigMix
changeset 588:79d1e2399af6
Style
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 09 Jan 2022 13:51:09 +0100 |
| parents | eac8e2d3933c |
| children | 87db5a732797 |
| files | setup.py |
| diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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))):
