Skip to content

Commit 759beb9

Browse files
committed
Cleanup install dev script
1 parent 0d259b7 commit 759beb9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

install_dev_env.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
#!/bin/bash
22

3-
PYTHON_VER="3.7"
3+
if [ "$1" == "" ]; then
4+
PYTHON_VER="3"
5+
else
6+
PYTHON_VER="$1"
7+
fi
48

59
# install ubuntu dependencies
6-
sudo add-apt-repository ppa:deadsnakes/ppa
7-
sudo apt update
8-
sudo apt install python${PYTHON_VER} python${PYTHON_VER}-venv python${PYTHON_VER}-dev
10+
# sudo add-apt-repository ppa:deadsnakes/ppa
11+
# sudo apt update
12+
# sudo apt install python${PYTHON_VER} python${PYTHON_VER}-venv python${PYTHON_VER}-dev
913

1014
rm -rf venv_sa_conv
1115
python${PYTHON_VER} -m venv venv_sa_conv

0 commit comments

Comments
 (0)