summaryrefslogtreecommitdiff
path: root/build.sh
blob: d7e5aedaa0bc0eedf4fceee35be2580d1dbc52fa (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
source 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