python-setuptools: Update to 27.3.0

This commit is contained in:
Alexey Pavlov
2016-09-23 11:52:37 +03:00
parent d9f4ca01a2
commit d7d5ed9ac0
2 changed files with 15 additions and 16 deletions

View File

@@ -1,15 +1,12 @@
--- setuptools-7.0/setuptools/extension.py.orig 2014-10-20 00:40:16.151400000 +0400
+++ setuptools-7.0/setuptools/extension.py 2014-10-20 00:40:45.978600000 +0400
@@ -6,12 +6,9 @@
import distutils.extension
--- setuptools-27.3.0/setuptools/monkey.py.orig 2016-09-23 11:38:23.517707200 +0300
+++ setuptools-27.3.0/setuptools/monkey.py 2016-09-23 11:39:40.362333800 +0300
@@ -90,7 +90,8 @@
setuptools.extension.Extension
)
from .dist import _get_unpatched
-from . import msvc9_support
- patch_for_msvc_specialized_compiler()
+ if not 'GCC' in sys.version:
+ patch_for_msvc_specialized_compiler()
_Extension = _get_unpatched(distutils.core.Extension)
-msvc9_support.patch_for_specialized_compiler()
-
def _have_cython():
"""
Return True if Cython can be imported.
def _patch_distribution_metadata_write_pkg_file():