[Update] Build scripts and configuration: Added new build and install scripts, updated versioning in config files, and improved project structure.
This commit is contained in:
1 parent
54ec5ba45d
commit
ff6ac43fee
15 files changed
+43
-41
No files matched your search
@@ -0,0 +1,2 @@
|
||||
call .venv/Scripts/activate
|
||||
pyinstaller spec/backend.spec --distpath src-tauri/bin --clean --noconfirm --log-level ERROR
|
||||
@@ -0,0 +1,2 @@
|
||||
call .venv_cuda/Scripts/activate
|
||||
pyinstaller spec/backend_cuda.spec --distpath src-tauri/bin --clean --noconfirm --log-level ERROR
|
||||
@@ -0,0 +1,25 @@
|
||||
REM .venv exists
|
||||
if exist .venv (
|
||||
rmdir /s /q .venv
|
||||
)
|
||||
|
||||
REM make .venv
|
||||
python -m venv .venv
|
||||
|
||||
REM install packages for .venv
|
||||
call .venv/Scripts/activate
|
||||
python.exe -m pip install --upgrade pip
|
||||
pip install --no-cache-dir --force-reinstall -r requirements.txt
|
||||
|
||||
REM if .venv_cuda exists
|
||||
if exist .venv_cuda (
|
||||
rmdir /s /q .venv_cuda
|
||||
)
|
||||
|
||||
REM make .venv_cuda
|
||||
python -m venv .venv_cuda
|
||||
|
||||
REM install packages for .venv_cuda
|
||||
call .venv_cuda/Scripts/activate
|
||||
python.exe -m pip install --upgrade pip
|
||||
pip install --no-cache-dir --force-reinstall -r requirements_cuda.txt
|
||||
Reference in new issue
Block a user