summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100644
index 00000000..d7e5aeda
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,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 \ No newline at end of file