Deprecation of distutils module

The built-in distutils module was deprecated
in 3.10 and was removed in Python 3.12

Co-authored-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Change-Id: Ibc2b329a261355aa96165f4af1acc377560e0a39
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
Ivan Anfimov
2025-06-07 22:13:45 +00:00
parent 6f78d7d1d5
commit b39d6f618f

View File

@@ -13,11 +13,12 @@
# limitations under the License.
# pylint: disable=import-error,deprecated-module
from distutils.dist import Distribution
import os
from subprocess import call
from django.core.management.base import BaseCommand
from setuptools.dist import Distribution
DOMAINS = ['django', 'djangojs']
MODULES = ['openstack_dashboard', 'horizon', 'openstack_auth']