Skip to content

Commit 05e6384

Browse files
Add files via upload
1 parent 2727b92 commit 05e6384

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

setup.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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."

0 commit comments

Comments
 (0)