add build scripts
This commit is contained in:
parent
d4944946b8
commit
5dba7f8c2b
3
bl2tools.py
Normal file
3
bl2tools.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from bl2tools.cli import main
|
||||
|
||||
main()
|
52
bl2tools.spec
Normal file
52
bl2tools.spec
Normal file
|
@ -0,0 +1,52 @@
|
|||
# -*- mode: python ; coding: utf-8 -*-
|
||||
import izzylib_http_async
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
||||
a = Analysis(
|
||||
['bl2tools.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[
|
||||
(str(Path(izzylib_http_async.__file__).parent.joinpath('frontend')), '/izzylib_frontend'),
|
||||
('bl2tools/frontend/*', '/frontend')
|
||||
],
|
||||
hiddenimports=[
|
||||
'izzylib_http_async.server.application',
|
||||
'http_router.utils'
|
||||
],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher,
|
||||
noarchive=False,
|
||||
)
|
||||
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
[],
|
||||
name='bl2tools',
|
||||
debug=None,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=True,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None
|
||||
)
|
Loading…
Reference in a new issue