Skip to content

Commit 1a1ca62

Browse files
committed
attempt fix for multiple py installation
1 parent 822e4aa commit 1a1ca62

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

dev-setup.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Create venv if not already present
22
if [ ! -d "venv" ]; then
3-
python3 -m pip install -U virtualenv
4-
python3 -m virtualenv venv
3+
python3.9 -m pip install -U virtualenv
4+
python3.9 -m virtualenv venv
55
fi
66

77
# Activate the desired venv
8-
source venv/bin/activate
8+
#source venv/bin/activate
99

10-
python3 -m pip install --editable .[dev] --upgrade
10+
#python3 -m pip install --editable .[dev] --upgrade
1111

12-
pre-commit install
12+
#pre-commit install
13+
./venv/bin/python -m pip install --upgrade pip
14+
./venv/bin/python -m pip install --editable '.[dev]' --upgrade
15+
./venv/bin/pre-commit install

0 commit comments

Comments
 (0)