Skip to content

Commit ffe49d0

Browse files
Update setup.sh
1 parent 2f62526 commit ffe49d0

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

setup.sh

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,2 @@
1-
#!/bin/bash
2-
3-
# This is a setup script for the Python project
4-
5-
echo "Setting up the Python environment..."
6-
7-
# Install dependencies
8-
if command -v pip &> /dev/null; then
9-
echo "Installing Python dependencies..."
10-
pip install -r requirements.txt
11-
else
12-
echo "Error: pip not found. Please install Python and pip first."
13-
exit 1
14-
fi
15-
16-
# Run the main Python script
17-
echo "Running main.py..."
18-
python main.py
19-
20-
echo "Setup complete! You're ready to start working on your Python project."
1+
python somescript.py
2+
read -p "Press Enter to exit..."

0 commit comments

Comments
 (0)