adapting jenkinsfile
parent
93656c1a46
commit
619ae2b23b
|
|
@ -10,16 +10,16 @@ source ~/.bashrc
|
||||||
|
|
||||||
# Step 2. Install missing headers for all the Python modules to be built and make sure gcc is installed
|
# Step 2. Install missing headers for all the Python modules to be built and make sure gcc is installed
|
||||||
|
|
||||||
sudo zypper install -y readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc
|
#sudo zypper install -y readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc
|
||||||
|
|
||||||
# Step 3. Install the desired Python version
|
# Step 3. Install the desired Python version
|
||||||
|
|
||||||
pyenv install 3.7.4
|
#pyenv install 3.7.4
|
||||||
|
|
||||||
# Step 4. Install virtualenv
|
# Step 4. Install virtualenv
|
||||||
|
|
||||||
#sudo zypper install -y python3-virtualenv
|
#sudo zypper install -y python3-virtualenv
|
||||||
pip3 install virtualenv
|
#pip3 install virtualenv
|
||||||
# Step 5. Create a virtual environment for the installed Python and activate it
|
# Step 5. Create a virtual environment for the installed Python and activate it
|
||||||
|
|
||||||
mkdir ~/pythons
|
mkdir ~/pythons
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue