-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprecompile_lib.py
23 lines (22 loc) · 1.18 KB
/
precompile_lib.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# _*_ coding:utf-8 _*_
##############使用pyInstaller打包时需要编译到二进制中的库#######################
# 外部引用(pyinstaller编译platoncli.py时将sdk打包到二进制和动态库中)
# PlatON网络sdk
from client_sdk_python import HTTPProvider as HTTPProvider, Web3 as Web3
from client_sdk_python.eth import Eth as Eth
from client_sdk_python.admin import Admin as Admin
from client_sdk_python.packages.platon_account import Account as Account
from client_sdk_python.packages.platon_keys import keys as keys, datatypes
from client_sdk_python.packages.platon_account.datastructures import AttributeDict
from client_sdk_python.ppos import Ppos
from client_sdk_python.pip import Pip
# Alaya网络sdk
from alaya import HTTPProvider as Alaya_HTTPProvider, Web3 as Alaya_Web3
from alaya.eth import Eth as Alaya_Eth
from alaya.admin import Admin as Alaya_Admin
from alaya.ppos import Ppos as Alaya_Ppos
from alaya.packages.platon_account import Account as Alaya_Account
from alaya.packages.platon_keys import keys as Alaya_keys, datatypes as Alaya_datatypes
from crypto import HDPrivateKey, HDKey
from alaya.pip import Pip as Alaya_Pip
###################################################