File tree Expand file tree Collapse file tree 3 files changed +48
-3
lines changed Expand file tree Collapse file tree 3 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 27
27
python3 -m pip install .[all] -v
28
28
python3 -m pip install pyinstaller
29
29
- name : Build package
30
- run : pyinstaller --onefile llama_cpp/server/__main__.py --name llama-server
30
+ run : pyinstaller wechatbot.spec
31
31
- name : upload artifact
32
32
uses : actions/upload-artifact@v3
33
33
with :
34
34
name : llama-server
35
- path : dist/*
35
+ path : |
36
+ dist/*
37
+
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ MANIFEST
47
47
# Usually these files are written by a python script from a template
48
48
# before PyInstaller builds the exe, so as to inject date/other infos into it.
49
49
* .manifest
50
- * .spec
51
50
52
51
# Installer logs
53
52
pip-log.txt
Original file line number Diff line number Diff line change
1
+ # -*- mode: python ; coding: utf-8 -*-
2
+
3
+
4
+ block_cipher = None
5
+
6
+
7
+ a = Analysis (
8
+ ['llama_cpp/server/__main__.py' ],
9
+ pathex = ['llama_cpp/llama.py' ],
10
+ binaries = [('/home/runner/work/llama-cpp-python/llama-cpp-python/llama_cpp/libllama.so' ,'.' )],
11
+ datas = [],
12
+ hiddenimports = [],
13
+ hookspath = [],
14
+ hooksconfig = {},
15
+ runtime_hooks = [],
16
+ excludes = [],
17
+ win_no_prefer_redirects = False ,
18
+ win_private_assemblies = False ,
19
+ cipher = block_cipher ,
20
+ noarchive = False ,
21
+ )
22
+ pyz = PYZ (a .pure , a .zipped_data , cipher = block_cipher )
23
+
24
+ exe = EXE (
25
+ pyz ,
26
+ a .scripts ,
27
+ a .binaries ,
28
+ a .zipfiles ,
29
+ a .datas ,
30
+ [],
31
+ name = 'llama-server' ,
32
+ debug = True ,
33
+ bootloader_ignore_signals = False ,
34
+ strip = False ,
35
+ upx = True ,
36
+ upx_exclude = [],
37
+ runtime_tmpdir = None ,
38
+ console = True ,
39
+ disable_windowed_traceback = False ,
40
+ argv_emulation = False ,
41
+ target_arch = None ,
42
+ codesign_identity = None ,
43
+ entitlements_file = None ,
44
+ )
You can’t perform that action at this time.
0 commit comments