-
Notifications
You must be signed in to change notification settings - Fork 1
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
5493eb6
commit a5aac6c
Showing
8 changed files
with
79 additions
and
10 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,2 @@ | ||
venv/ | ||
*.zip |
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
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 |
---|---|---|
@@ -1 +1,30 @@ | ||
python EasyQuantizationGUI.py | ||
@echo off | ||
REM Check if pip is installed and show output only if it needs to be installed | ||
python -m pip --version >nul 2>&1 | ||
if %ERRORLEVEL% neq 0 ( | ||
echo Installing pip... | ||
python -m ensurepip --default-pip | ||
) else ( | ||
python -m pip install --upgrade pip >nul 2>&1 | ||
) | ||
|
||
REM Check if virtual environment exists, create if it doesn't | ||
if not exist "venv" ( | ||
echo Creating virtual environment... | ||
python -m venv venv | ||
call venv\Scripts\activate | ||
echo Installing requirements... | ||
pip install -r requirements.txt | ||
echo Setup complete! | ||
echo. | ||
) else ( | ||
call venv\Scripts\activate | ||
) | ||
|
||
REM Run the application | ||
python EasyQuantizationGUI.py | ||
|
||
REM Keep the window open if there's an error | ||
if %ERRORLEVEL% neq 0 ( | ||
pause | ||
) |
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
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
Binary file not shown.