diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-09-13 12:07:44 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-09-13 12:07:44 -0700 |
commit | 1bb877f3183d53b21eab432fd403c1bba69adac7 (patch) | |
tree | 488249c31ddc9ff9a62a1a8fe06fbaef33f1d958 /build.cmd | |
parent | 0940d756dec3b98071ae5e5a12966e02420b3cd2 (diff) | |
download | sncontinue-1bb877f3183d53b21eab432fd403c1bba69adac7.tar.gz sncontinue-1bb877f3183d53b21eab432fd403c1bba69adac7.tar.bz2 sncontinue-1bb877f3183d53b21eab432fd403c1bba69adac7.zip |
docs: :memo: updated setup docs
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build.cmd b/build.cmd new file mode 100644 index 00000000..92cb9cb7 --- /dev/null +++ b/build.cmd @@ -0,0 +1,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 |