charmcraft: add setuptools to dependencies

This commit is contained in:
Robert Schütz 2024-07-24 08:34:10 -07:00
parent b969054329
commit 2e5a44fb24

View File

@ -45,6 +45,7 @@ python.pkgs.buildPythonApplication rec {
substituteInPlace setup.py \
--replace-fail 'version=determine_version()' 'version="${version}"'
# TODO remove setuptools from dependencies once this is removed
substituteInPlace charmcraft/env.py \
--replace-fail "distutils.util" "setuptools.dist"
'';
@ -64,6 +65,7 @@ python.pkgs.buildPythonApplication rec {
requests
requests-toolbelt
requests-unixsocket
setuptools # see substituteInPlace above
snap-helpers
tabulate
urllib3