Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #349 from github/prevent-accidental-analysis-of-ge…
…t-pip

Prevent accidental analysis of the `get-pip.py` script.
Chris Gavin authored and GitHub committed Dec 22, 2020
2 parents dc999c5 + 3c494fd commit 094554c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python-setup/install_tools.sh
@@ -31,8 +31,7 @@ python3 -m pip install --user pipenv
if command -v python2 &> /dev/null; then
# Setup Python 2 dependency installation tools.
# The Ubuntu 20.04 GHA environment does not come with a Python 2 pip
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
python2 get-pip.py
curl --location --fail https://bootstrap.pypa.io/get-pip.py | python2

python2 -m pip install --user --upgrade pip setuptools wheel

0 comments on commit 094554c

Please sign in to comment.