Commit b7b9cb23 authored by Jason R. Coombs's avatar Jason R. Coombs

Use programmatic import and add comment explaining purpose.

parent b6f2fee9
......@@ -126,7 +126,8 @@ def patch_for_msvc_specialized_compiler():
Patch functions in distutils to use standalone Microsoft Visual C++
compilers.
"""
from . import msvc
# import late to avoid circular imports on Python < 3.5
msvc = import_module('setuptools.msvc')
try:
# Distutil file for MSVC++ 9.0 and upper (Python 2.7 to 3.4)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment