← back to Exo
base images for animation
a70943f8d2cfc7c950788dd46fab15532c457cdd · 2025-01-22 05:46:38 -0500 · Sami Khan
Files touched
Diff
commit a70943f8d2cfc7c950788dd46fab15532c457cdd
Author: Sami Khan <98742866+samiamjidkhan@users.noreply.github.com>
Date: Wed Jan 22 05:46:38 2025 -0500
base images for animation
---
scripts/build_exo.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/build_exo.py b/scripts/build_exo.py
index 245e5773..618dca48 100644
--- a/scripts/build_exo.py
+++ b/scripts/build_exo.py
@@ -6,6 +6,9 @@ import pkgutil
def run():
site_packages = site.getsitepackages()[0]
+ base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+ baseimages_dir = os.path.join(base_dir, "exo", "apputil", "baseimages")
+
command = [
f"{sys.executable}", "-m", "nuitka", "exo/main.py",
"--company-name=exolabs",
@@ -15,7 +18,8 @@ def run():
"--standalone",
"--output-filename=exo",
"--python-flag=no_site",
- "--onefile"
+ "--onefile",
+ f"--include-data-dir={baseimages_dir}=exo/apputil/baseimages"
]
if sys.platform == "darwin":
← 5c4ce539 image and text mode fix
·
back to Exo
·
directory for images 27b4577f →