mirror of
https://github.com/leon-ai/leon.git
synced 2025-01-03 06:06:06 +03:00
fix(tcp server): include private libraries of the tokenizers package
This commit is contained in:
parent
3361d9b37e
commit
6146fa1f15
@ -1,4 +1,5 @@
|
||||
from cx_Freeze import setup, Executable
|
||||
import sysconfig
|
||||
|
||||
options = {
|
||||
'build_exe': {
|
||||
@ -12,13 +13,14 @@ options = {
|
||||
'srsly.msgpack.util',
|
||||
'blis',
|
||||
'cymem'
|
||||
],
|
||||
'include_files': [
|
||||
'tcp_server/src/.venv/lib/python3.9/site-packages/tokenizers',
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
# Include private libraries from the tokenizers package for Linux
|
||||
if 'linux' in sysconfig.get_platform():
|
||||
options['build_exe']['include_files'] = 'tcp_server/src/.venv/lib/python3.9/site-packages/tokenizers.libs'
|
||||
|
||||
executables = [
|
||||
Executable(
|
||||
script='tcp_server/src/main.py',
|
||||
|
Loading…
Reference in New Issue
Block a user