Skip to content

Commit

Permalink
Merge pull request #2747 from OSInside/distutils_sysconfig_deprecated
Browse files Browse the repository at this point in the history
distutils sysconfig is deprecated
  • Loading branch information
Conan-Kudo authored Mar 6, 2025
2 parents 03b0560 + 8474085 commit 80529c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/python-kiwi-spec-template
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
%endif

%if %{undefined python3_sitelib}
%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%global python3_sitelib %(%{__python3} -c "import sysconfig; print(sysconfig.get_path('platlib'))")
%endif

%if %{undefined python3_version}
Expand Down

0 comments on commit 80529c6

Please sign in to comment.