blob: c9dd60f6f8d8fbfcb102f8c7011b0c3c843b2ab9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
# 1. Remove unwanted stuff
rm -rf build
rm -rf env
rm -rf dist
rm -rf continuedev/.venv
# 2. Create a new virtual environment and activate it
python3 -m venv env
. env/bin/activate
# 3. Install the required packages
pip install -r continuedev/requirements.txt
pip install pyinstaller
# 4. Call PyInstaller from within the virtual environment
env/bin/pyinstaller run.spec
# 5. Deactivate the virtual environment
deactivate
|