summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch
blob: ba1c3d3363702f04a283f060235fce1529eea0c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 857719e82daea0d85b734cac34cf569050724068 Mon Sep 17 00:00:00 2001
From: Tim Orling <tim.orling@konsulko.com>
Date: Sun, 20 Feb 2022 20:26:51 -0800
Subject: [PATCH] setup.py: use vendored _distutils

Deprecation warning of distutils is interferring with bdist_wheel build.

For now, use the vendored setuptools._distutils.core.

Upstream-Status: Pending [upstream appears unmaintained]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 1bf87cf..a49fb8e 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,5 @@
 import os.path
-from distutils.core import setup
+from setuptools._distutils.core import setup
 
 readme_file = os.path.join(os.path.dirname(__file__), 'README.md')
 readme = open(readme_file).read()