-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathinstaller.bat
More file actions
48 lines (34 loc) · 1.53 KB
/
installer.bat
File metadata and controls
48 lines (34 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@echo off
REM Advanced RVC Inference - Windows Installation Script
REM This script installs all necessary dependencies for Advanced RVC Inference
echo ===========================================
echo Advanced RVC Inference Installation Script
echo ===========================================
REM Set up environment variables
set PIP_PREFER_BINARY=1
set PYTHONPATH=%CD%;%PYTHONPATH%
echo Setting up Python environment...
REM Install uv for fast package management
echo Installing uv...
powershell -Command "Invoke-RestMethod -Uri https://astral.sh/uv/install.ps1 | Invoke-Expression"
REM Add uv to PATH for current session
set PATH=%LOCALAPPDATA%\uv;%PATH%
REM Create virtual environment using uv
echo Creating virtual environment...
uv venv
REM Activate the virtual environment
call .venv\Scripts\activate.bat
echo Virtual environment activated.
REM Install dependencies from requirements.txt
echo Installing requirements...
uv pip install -r requirements.txt --index-strategy unsafe-best-match
REM Install this package in development mode - only install if dependencies are available
echo Installing Advanced RVC Inference package...
uv pip install -e . || echo Warning: Development install failed, continuing with basic setup...
echo ===========================================
echo Installation completed successfully!
echo ===========================================
echo To run the application, use one of the following commands:
echo rvc-gui
echo ===========================================
pause