diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch b/meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch new file mode 100644 index 0000000000..ba1c3d3363 --- /dev/null +++ b/meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 857719e82daea0d85b734cac34cf569050724068 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tim Orling <tim.orling@konsulko.com> | ||
3 | Date: Sun, 20 Feb 2022 20:26:51 -0800 | ||
4 | Subject: [PATCH] setup.py: use vendored _distutils | ||
5 | |||
6 | Deprecation warning of distutils is interferring with bdist_wheel build. | ||
7 | |||
8 | For now, use the vendored setuptools._distutils.core. | ||
9 | |||
10 | Upstream-Status: Pending [upstream appears unmaintained] | ||
11 | |||
12 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | ||
13 | --- | ||
14 | setup.py | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/setup.py b/setup.py | ||
18 | index 1bf87cf..a49fb8e 100644 | ||
19 | --- a/setup.py | ||
20 | +++ b/setup.py | ||
21 | @@ -1,5 +1,5 @@ | ||
22 | import os.path | ||
23 | -from distutils.core import setup | ||
24 | +from setuptools._distutils.core import setup | ||
25 | |||
26 | readme_file = os.path.join(os.path.dirname(__file__), 'README.md') | ||
27 | readme = open(readme_file).read() | ||