blob: 92cb9cb7a1ff2c0cc7b99ff8fd6a5d9c88a0157d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
@echo off
REM 1. Remove unwanted stuff
rmdir /s /q build
rmdir /s /q env
rmdir /s /q dist
rmdir /s /q continuedev\.venv
REM 2. Create a new virtual environment and activate it
python -m venv env
call env\Scripts\activate
REM 3. Install the required packages
pip install -r continuedev\requirements.txt
pip install pyinstaller
REM 4. Call PyInstaller from within the virtual environment
env\Scripts\pyinstaller run.spec
REM 5. Deactivate the virtual environment
call env\Scripts\deactivate.bat
|