-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_framework.bat
More file actions
38 lines (32 loc) · 941 Bytes
/
Copy pathinstall_framework.bat
File metadata and controls
38 lines (32 loc) · 941 Bytes
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
@echo off
title AeroFramework - Editable Installation
setlocal
:: Change to the script's directory for safety
cd /d "%~dp0"
echo ==================================================
echo AeroFramework: Installation in progress...
echo ==================================================
echo.
:: Check if Python is installed
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERRORE] Python was not found in PATH.
echo Please ensure Python is installed and added to your environment variables.
pause
exit /b
)
:: Execute editable installation
echo Running: pip install -e .
pip install -e .
if %errorlevel% equ 0 (
echo.
echo ==================================================
echo INSTALLATION COMPLETED SUCCESSFULLY!
echo You can now use 'import aeroframework'
echo ==================================================
) else (
echo.
echo [ERRORE] Installation failed.
)
echo.
pause