Skip to content

Commit 1b97e49

Browse files
committed
Reverting dev-setup.sh to try and isolate workflow failures
1 parent 41a964b commit 1b97e49

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

dev-setup.sh

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
#!/bin/bash
2-
3-
# Create venv if not present
1+
# Create venv if not already present
42
if [ ! -d "venv" ]; then
5-
python3 -m venv venv || { echo "Failed to create venv. Try: sudo apt install python3-venv"; exit 1; }
3+
python3 -m pip install venv
4+
python3 -m venv venv
65
fi
76

87
# Activate the desired venv
98
source venv/bin/activate
109

11-
# Install package
1210
python3 -m pip install --editable .[dev] --upgrade
1311

14-
# Install pre-commit hooks if available
15-
if command -v pre-commit &> /dev/null; then
16-
pre-commit install
17-
fi
12+
pre-commit install

0 commit comments

Comments
 (0)