blob: 9bc8b36f362616cfc378affb55ddb05254c69672 (
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
28
29
|
From 36f8106535150b970c75e8b8456ebc5a7d1dbdb3 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 2 Mar 2022 11:11:01 -0800
Subject: [PATCH] setup.py: Use setuptools instead of distutils
distutils is deprecated and will be gone in 3.12+
Upstream-Status: Submitted [https://github.com/aws/aws-iot-device-sdk-python/pull/305]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 3846bae..d0c2b8d 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ sys.path.insert(0, 'AWSIoTPythonSDK')
import AWSIoTPythonSDK
currentVersion = AWSIoTPythonSDK.__version__
-from distutils.core import setup
+from setuptools import setup
setup(
name = 'AWSIoTPythonSDK',
packages=['AWSIoTPythonSDK', 'AWSIoTPythonSDK.core',
--
2.35.1
|