Repository navigation
Expand file tree
/
Copy pathmake_pyinstaller.sh
More file actions
18 lines (18 loc) · 1.78 KB
/
Copy pathmake_pyinstaller.sh
File metadata and controls
18 lines (18 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
chmod +x "./create_ver_file.sh"
. create_ver_file.sh
pyinstaller --noconfirm --onefile --clean --console --collect-all customtkinter --collect-all jinja2 --collect-all psutil --collect-all pdfplumber --collect-all PyMuPdf --collect-all fitz --collect-all tqdm --collect-all chardet --collect-all tree_sitter --collect-all tree_sitter_python --collect-all tree_sitter_javascript --collect-all tree_sitter_typescript --collect-all tree_sitter_html --collect-all tree_sitter_css --collect-all tree_sitter_cpp --collect-all tree_sitter_c_sharp --collect-all tree_sitter_rust --collect-all tree_sitter_ruby --collect-all tree_sitter_go --collect-all tree_sitter_java --collect-all openai --collect-all tiktoken --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext --collect-all prompt_toolkit --collect-all msgpack --collect-all numpy --collect-all asyncssh --collect-all yaml --collect-all json_repair --collect-all aiofiles --collect-all ulid --collect-all requests --collect-all fastapi --collect-all uvicorn --collect-all itsdangerous --collect-all websockets --collect-all multipart --collect-all discord --collect-all telegram --collect-all matrix-nio --collect-all bs4 --add-data "./esoExtras:./esoExtras" --icon "./niko.ico" \
--add-data "./kcpp_adapters:./kcpp_adapters" \
--add-data "./koboldcpp.py:." \
--add-data "./json_to_gbnf.py:." \
--add-data "./LICENSE.md:." \
--add-data "./MIT_LICENSE_GGML_SDCPP_LLAMACPP_ONLY.md:." \
--add-data "./embd_res:./embd_res" \
--add-data "./koboldcpp_default.so:." \
--add-data "./koboldcpp_failsafe.so:." \
--add-data "./koboldcpp_noavx2.so:." \
--add-data "./koboldcpp_vulkan_failsafe.so:." \
--add-data "./koboldcpp_vulkan_noavx2.so:." \
--add-data "./koboldcpp_vulkan.so:." \
--version-file "./version.txt" \
"./koboldcpp.py" -n "koboldcpp"