2018-06-13 20:12:52 +02:00
|
|
|
#!/usr/bin/env bash
|
2018-06-07 02:58:31 +02:00
|
|
|
|
|
|
|
set -e
|
|
|
|
set -o pipefail
|
|
|
|
|
2021-05-07 08:40:54 +02:00
|
|
|
PYTHON=python
|
2018-06-07 02:58:31 +02:00
|
|
|
while [ $# -gt 0 ]; do
|
|
|
|
case "$1" in
|
|
|
|
-python)
|
|
|
|
PYTHON=$2
|
|
|
|
shift
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Usage: Usage: ${0##*/} [-python /path/to/bin/python]"
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
shift
|
|
|
|
done
|
|
|
|
|
|
|
|
cd /tmp
|
|
|
|
|
2021-01-28 03:33:45 +01:00
|
|
|
# Todo: Need to update base image from Debian Stretch for the required Python
|
|
|
|
# 3.6 or later
|
2021-05-07 00:59:07 +02:00
|
|
|
curl -# -LO https://bootstrap.pypa.io/pip/get-pip.py
|
2021-08-05 17:33:52 +02:00
|
|
|
<<<<<<< HEAD
|
|
|
|
=======
|
2021-05-26 20:02:47 +02:00
|
|
|
#curl -# -LO https://bootstrap.pypa.io/pip/2.7/get-pip.py
|
2021-08-05 17:33:52 +02:00
|
|
|
>>>>>>> 9adf96c16b00759a9f7f69be3e61b5e16cdd6ac4
|
2018-06-07 02:58:31 +02:00
|
|
|
${PYTHON} get-pip.py --ignore-installed
|
|
|
|
rm get-pip.py
|
|
|
|
|
2019-02-27 20:26:38 +01:00
|
|
|
${PYTHON} -m pip install --upgrade --ignore-installed setuptools
|
2018-06-07 02:58:31 +02:00
|
|
|
${PYTHON} -m pip install --ignore-installed conan
|