浏览代码

remove unused `build.py`

Jeffrey Morgan 1 年之前
父节点
当前提交
0d2f41e9a4
共有 1 个文件被更改,包括 0 次插入18 次删除
  1. 0 18
      build.py

+ 0 - 18
build.py

@@ -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)