diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-mysql-connector-python/single-version.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/py-mysql-connector-python/single-version.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/var/spack/repos/builtin/packages/py-mysql-connector-python/single-version.patch b/var/spack/repos/builtin/packages/py-mysql-connector-python/single-version.patch deleted file mode 100644 index 27cf5e5d22..0000000000 --- a/var/spack/repos/builtin/packages/py-mysql-connector-python/single-version.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/lib/cpy_distutils.py b/lib/cpy_distutils.py -index a9132e5..3cffee6 100644 ---- a/lib/cpy_distutils.py -+++ b/lib/cpy_distutils.py -@@ -29,9 +29,14 @@ - """Implements the DistUtils command 'build_ext' - """ - --from distutils.command.build_ext import build_ext --from distutils.command.install import install --from distutils.command.install_lib import install_lib -+try: -+ from setuptools.command.build_ext import build_ext -+ from setuptools.command.install import install -+ from setuptools.command.install_lib import install_lib -+except ImportError: -+ from distutils.command.build_ext import build_ext -+ from distutils.command.install import install -+ from distutils.command.install_lib import install_lib - from distutils.errors import DistutilsExecError - from distutils.util import get_platform - from distutils.version import LooseVersion |