Skip to content

Commit

Permalink
Add setuptools different from python3
Browse files Browse the repository at this point in the history
  • Loading branch information
gonchik committed Feb 9, 2023
1 parent d2d9664 commit 6f1c2b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile.qa
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 ; \
fi

# install setuptools
RUN if [ $PYTHON_VERSION = '2.7' ] ; then \
apt-get install python-setuptools
else \
apt-get install python3-setuptools
fi

# Register the version in alternatives
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PYTHON_VERSION 1

Expand Down

0 comments on commit 6f1c2b7

Please sign in to comment.