Merge pull request #39576 from veprbl/pr/py3_distutils_fix

python3: add C++ compiler support for distutils
This commit is contained in:
Matthew Justin Bauer
2018-05-09 06:11:44 +00:00
committed by GitHub
4 changed files with 43 additions and 6 deletions

View File

@@ -14,8 +14,9 @@ buildPythonPackage rec {
buildInputs = [ gfortran nose blas ];
patches = lib.optionals (python.hasDistutilsCxxPatch or false) [
# See cpython 2.7 patches.
# numpy.distutils is used by cython during it's check phase
# We patch cpython/distutils to fix https://bugs.python.org/issue1222585
# Patching of numpy.distutils is needed to prevent it from undoing the
# patch to distutils.
./numpy-distutils-C++.patch
];