Show More
@@ -4,8 +4,10 b'' | |||
|
4 | 4 | # 'python setup.py install', or |
|
5 | 5 | # 'python setup.py --help' for more options |
|
6 | 6 | |
|
7 | import os | |
|
8 | ||
|
7 | 9 | supportedpy = '~= 2.7' |
|
8 | if 'HGALLOWPYTHON3': | |
|
10 | if os.environ.get('HGALLOWPYTHON3', ''): | |
|
9 | 11 | # Mercurial will never work on Python 3 before 3.5 due to a lack |
|
10 | 12 | # of % formatting on bytestrings, and can't work on 3.6.0 or 3.6.1 |
|
11 | 13 | # due to a bug in % formatting in bytestrings. |
@@ -101,7 +103,7 b' else:' | |||
|
101 | 103 | ispypy = "PyPy" in sys.version |
|
102 | 104 | |
|
103 | 105 | import ctypes |
|
104 |
import |
|
|
106 | import stat, subprocess, time | |
|
105 | 107 | import re |
|
106 | 108 | import shutil |
|
107 | 109 | import tempfile |
General Comments 0
You need to be logged in to leave comments.
Login now