Show More
@@ -164,6 +164,8 b' ignore = [' | |||
|
164 | 164 | '_ssl', # conditional imports in the stdlib, issue1964 |
|
165 | 165 | 'rfc822', |
|
166 | 166 | 'mimetools', |
|
167 | # setuptools 8 expects this module to explode early when not on windows | |
|
168 | 'distutils.msvc9compiler' | |
|
167 | 169 | ] |
|
168 | 170 | |
|
169 | 171 | def isenabled(): |
@@ -1,6 +1,16 b'' | |||
|
1 | 1 | from mercurial import demandimport |
|
2 | 2 | demandimport.enable() |
|
3 | 3 | |
|
4 | import os | |
|
5 | if os.name != 'nt': | |
|
6 | try: | |
|
7 | import distutils.msvc9compiler | |
|
8 | print ('distutils.msvc9compiler needs to be an immediate ' | |
|
9 | 'importerror on non-windows platforms') | |
|
10 | distutils.msvc9compiler | |
|
11 | except ImportError: | |
|
12 | pass | |
|
13 | ||
|
4 | 14 | import re |
|
5 | 15 | |
|
6 | 16 | rsub = re.sub |
General Comments 0
You need to be logged in to leave comments.
Login now