Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 1 | Move to setuptools as distutils is now deprecated. |
| 2 | |
| 3 | Upstream-Status: Submitted [https://code.launchpad.net/~tgamblin/ufw/distutils-to-setuptools] |
| 4 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
| 5 | |
| 6 | diff --git a/setup.py b/setup.py |
| 7 | index cb67a6a..de648d3 100644 |
| 8 | --- a/setup.py |
| 9 | +++ b/setup.py |
| 10 | @@ -25,8 +25,8 @@ |
| 11 | # |
| 12 | |
| 13 | from __future__ import print_function |
| 14 | -from distutils.command.install import install as _install |
| 15 | -from distutils.core import setup |
| 16 | +from setuptools.command.install import install as _install |
| 17 | +from setuptools import setup |
| 18 | import errno |
| 19 | import os |
| 20 | import re |