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:
@@ -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']
|
||||
|
Reference in New Issue
Block a user