mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-14 22:07:23 +00:00
This package has a traditional setup.py which has a custom install command, which isn't supported with the modern wheel/pip installation method. Until upstream has moved away from distutils, use setuptools_legacy so the installation is correct. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
570 B
Diff
21 lines
570 B
Diff
Move to setuptools as distutils is now deprecated.
|
|
|
|
Upstream-Status: Submitted [https://code.launchpad.net/~tgamblin/ufw/distutils-to-setuptools]
|
|
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index cb67a6a..de648d3 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -25,8 +25,8 @@
|
|
#
|
|
|
|
from __future__ import print_function
|
|
-from distutils.command.install import install as _install
|
|
-from distutils.core import setup
|
|
+from setuptools.command.install import install as _install
|
|
+from setuptools import setup
|
|
import errno
|
|
import os
|
|
import re
|