From 0d2f41e9a483c943e9f068effd32ab185ba09dcd Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Sat, 1 Jul 2023 13:48:36 -0400 Subject: [PATCH] remove unused `build.py` --- build.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 build.py diff --git a/build.py b/build.py deleted file mode 100644 index 2dc67d60..00000000 --- a/build.py +++ /dev/null @@ -1,18 +0,0 @@ -import site -import os -from PyInstaller.__main__ import run as pyi_run - -# the llama_cpp directory is not included if not explicitly added -site_packages_dir = site.getsitepackages()[0] -llama_cpp_dir = os.path.join(site_packages_dir, "llama_cpp") - -args = [ - "ollama.py", - "--paths", - site_packages_dir, - "--add-data", - f"{llama_cpp_dir}{os.pathsep}llama_cpp" -] - -# generate the .spec file and run PyInstaller -pyi_run(args)