-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
067fecc
commit b0b0615
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@echo off | ||
|
||
:: This is a setup script for the Python project | ||
|
||
echo Setting up the Python environment... | ||
|
||
:: Install dependencies | ||
if exist %SystemRoot%\System32\pip.exe ( | ||
echo Installing Python dependencies... | ||
pip install -r requirements.txt | ||
) else ( | ||
echo Error: pip not found. Please install Python and pip first. | ||
exit /b 1 | ||
) | ||
|
||
:: Run the main Python script | ||
echo Running main.py... | ||
python main.py | ||
|
||
echo Setup complete! You're ready to start working on your Python project. |