Commit f780be54 authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #781 from dstufft/fix-import

Move msvc import to avoid a circular import
parents a5eba216 a6524a5c
...@@ -7,7 +7,6 @@ import distutils.filelist ...@@ -7,7 +7,6 @@ import distutils.filelist
import platform import platform
import setuptools import setuptools
from . import msvc
__all__ = [] __all__ = []
...@@ -112,6 +111,8 @@ def patch_for_msvc_specialized_compiler(): ...@@ -112,6 +111,8 @@ def patch_for_msvc_specialized_compiler():
Patch functions in distutils to use standalone Microsoft Visual C++ Patch functions in distutils to use standalone Microsoft Visual C++
compilers. compilers.
""" """
from . import msvc
try: try:
# Distutil file for MSVC++ 9.0 and upper (Python 2.7 to 3.4) # Distutil file for MSVC++ 9.0 and upper (Python 2.7 to 3.4)
import distutils.msvc9compiler as msvc9compiler import distutils.msvc9compiler as msvc9compiler
......
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