Skip to content

Commit

Permalink
Fix binary build
Browse files Browse the repository at this point in the history
Signed-off-by: cyc60 <[email protected]>
  • Loading branch information
cyc60 committed Oct 31, 2023
1 parent e2b3d4b commit 01e2056
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions operator.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ datas = [
datas += collect_data_files('certifi')
datas += collect_data_files('coincurve')
datas += collect_data_files('eth_account')
datas += collect_data_files('eth_utils')

block_cipher = None

Expand Down
Binary file added operator/operator
Binary file not shown.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import ssl
import sys
from importlib.metadata import metadata

import click

Expand Down Expand Up @@ -35,6 +36,7 @@ def cli() -> None:

if __name__ == '__main__':
# Pyinstaller hacks
eth_typing_metadata = metadata('eth-typing')
multiprocessing.set_start_method('spawn')
multiprocessing.freeze_support()
# Use certificate from certifi only if cafile could not find by ssl.
Expand Down

0 comments on commit 01e2056

Please sign in to comment.