python3Packages.mmengine: use setuptools._distutils instead of deprecated distutils
This commit is contained in:
@@ -67,6 +67,11 @@ buildPythonPackage rec {
|
||||
+ ''
|
||||
substituteInPlace tests/test_config/test_lazy.py \
|
||||
--replace-fail "import numpy.compat" ""
|
||||
|
||||
substituteInPlace mmengine/utils/dl_utils/collect_env.py \
|
||||
--replace-fail \
|
||||
"from distutils" \
|
||||
"from setuptools._distutils"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
Reference in New Issue
Block a user