blob: 35bc4a6bd135929092c9d77b2cebce4ee23e7f13 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From a36abadfb2d135260bef7703a1d0b56e6aa7eeff Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com>
3Date: Mon, 28 Feb 2022 08:21:33 -0800
4Subject: [PATCH] setup.py: switch to setuptools
5
6In Python 3.10, 'distutils' has been deprecated and is slated for
7removal in Python 3.12.
8
9Switch from 'distutils.core' to 'setuptools'. This also allows for the
10'wheel' binary archive format to be built with 'setup.py bdist_wheel'.
11
12Upstream-Status: Submitted
13[https://github.com/rlisagor/pynetlinux/pull/12]
14
15Signed-off-by: Tim Orling <tim.orling@konsulko.com>
16---
17 setup.py | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/setup.py b/setup.py
21index 670e064..45f1053 100755
22--- a/setup.py
23+++ b/setup.py
24@@ -1,4 +1,4 @@
25-from distutils.core import setup
26+from setuptools import setup
27
28 setup(
29 name = "pynetlinux",
30--
312.30.2
32