Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
0d2f41e9
Commit
0d2f41e9
authored
Jul 01, 2023
by
Jeffrey Morgan
Browse files
remove unused `build.py`
parent
1dd3282f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
build.py
build.py
+0
-18
No files found.
build.py
deleted
100644 → 0
View file @
1dd3282f
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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment