equal
deleted
inserted
replaced
3 # |
3 # |
4 # 'python setup.py install', or |
4 # 'python setup.py install', or |
5 # 'python setup.py --help' for more options |
5 # 'python setup.py --help' for more options |
6 import os |
6 import os |
7 |
7 |
8 # Mercurial will never work on Python 3 before 3.5 due to a lack |
8 # Mercurial can't work on 3.6.0 or 3.6.1 due to a bug in % formatting |
9 # of % formatting on bytestrings, and can't work on 3.6.0 or 3.6.1 |
9 # in bytestrings. |
10 # due to a bug in % formatting in bytestrings. |
|
11 # We cannot support Python 3.5.0, 3.5.1, 3.5.2 because of bug in |
|
12 # codecs.escape_encode() where it raises SystemError on empty bytestring |
|
13 # bug link: https://bugs.python.org/issue25270 |
|
14 supportedpy = ','.join( |
10 supportedpy = ','.join( |
15 [ |
11 [ |
16 '>=3.5.3', |
12 '>=3.6.2', |
17 '!=3.6.0', |
|
18 '!=3.6.1', |
|
19 ] |
13 ] |
20 ) |
14 ) |
21 |
15 |
22 import sys, platform |
16 import sys, platform |
23 import sysconfig |
17 import sysconfig |