Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | From 54014061be2fed20d6c35aba9719ea70a9fea9ea Mon Sep 17 00:00:00 2001 |
| 2 | From: Vojtech Trefny <vtrefny@redhat.com> |
| 3 | Date: Wed, 1 Sep 2021 08:59:19 +0200 |
| 4 | Subject: [PATCH] Use setuptools instead of distutils in setup.py |
| 5 | |
| 6 | The distutils module is deprecated and will be removed in Python |
| 7 | 3.12. |
| 8 | |
| 9 | Upstream-Status: Backport [https://github.com/kraj/blivet-gui/commit/54014061be2fed20d6c35aba9719ea70a9fea9ea] |
| 10 | --- |
| 11 | setup.py | 4 ++-- |
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 13 | |
| 14 | diff --git a/setup.py b/setup.py |
| 15 | index aa8ef57..77849a1 100644 |
| 16 | --- a/setup.py |
| 17 | +++ b/setup.py |
| 18 | @@ -1,7 +1,7 @@ |
| 19 | from __future__ import print_function |
| 20 | |
| 21 | -from distutils.core import setup |
| 22 | -from distutils.command.sdist import sdist |
| 23 | +from setuptools import setup |
| 24 | +from setuptools.command.sdist import sdist |
| 25 | import glob |
| 26 | import sys |
| 27 | |
| 28 | -- |
| 29 | 2.35.1 |
| 30 | |