Skip to content

Commit

Permalink
Merge "Revert "Use SETUPTOOLS_USE_DISTUTILS=stdlib for global pip ins…
Browse files Browse the repository at this point in the history
…talls""
  • Loading branch information
Zuul authored and openstack-gerrit committed Nov 17, 2024
2 parents f41479f + c6c5e12 commit 72f9964
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions inc/python
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,7 @@ function pip_install {
echo "Using python $PYTHON3_VERSION to install $package_dir"
else
local cmd_pip="python$PYTHON3_VERSION -m pip"
# See
# https://github.com/pypa/setuptools/issues/2232
# http://lists.openstack.org/pipermail/openstack-discuss/2020-August/016905.html
# this makes setuptools >=50 use the platform distutils.
# We only want to do this on global pip installs, not if
# installing in a virtualenv
local sudo_pip="sudo -H LC_ALL=en_US.UTF-8 SETUPTOOLS_USE_DISTUTILS=stdlib "
local sudo_pip="sudo -H LC_ALL=en_US.UTF-8"
echo "Using python $PYTHON3_VERSION to install $package_dir"
fi

Expand Down

0 comments on commit 72f9964

Please sign in to comment.