diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch b/meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch new file mode 100644 index 0000000000..9bcb871135 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | From 3dc1e9584ed2ac81e7526b8dbf76b4a06ea8ac76 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Justin Bronder <jsbronder@cold-front.org> | ||
| 3 | Date: Tue, 1 Mar 2022 10:34:42 -0500 | ||
| 4 | Subject: [PATCH] setup.py use setuptools instead of distutils | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Justin Bronder <jsbronder@cold-front.org> | ||
| 8 | --- | ||
| 9 | setup.py | 3 +-- | ||
| 10 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
| 11 | |||
| 12 | diff --git a/setup.py b/setup.py | ||
| 13 | index e3a524b..2f2bcfc 100644 | ||
| 14 | --- a/setup.py | ||
| 15 | +++ b/setup.py | ||
| 16 | @@ -1,5 +1,4 @@ | ||
| 17 | -from distutils.core import setup | ||
| 18 | -from distutils.extension import Extension | ||
| 19 | +from setuptools import Extension, setup | ||
| 20 | import sys,os | ||
| 21 | |||
| 22 | if sys.version_info[0] == 2: | ||
