Smart_Report/preset_value.spec

53 lines
1.2 KiB
RPMSpec
Raw Normal View History

2025-04-17 14:15:10 +08:00
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['PersetValueCalculation_main.py'],
pathex=['c:\\Users\\Ziran\\Desktop\\工作文件\\中间文件\\Intelligent management for secondary devices\\Connect to database'],
binaries=[],
datas=[
('*.xlsx', '.'), # 包含所有 Excel 文件
('*.json', '.'), # 包含所有 JSON 文件
],
hiddenimports=[
'ImportSystemParameter',
'CalculateATValue',
'CalculateFeederValue',
'CalculateMainTransformer',
'CalculateShuntValue',
'Self_defined_functions'
],
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='PresetValueCalculation',
debug=False,
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,
)