74 lines
1.5 KiB
RPMSpec
74 lines
1.5 KiB
RPMSpec
|
|
# -*- mode: python ; coding: utf-8 -*-
|
||
|
|
|
||
|
|
|
||
|
|
a = Analysis(
|
||
|
|
['run.py'],
|
||
|
|
pathex=[],
|
||
|
|
binaries=[],
|
||
|
|
datas=[],
|
||
|
|
hiddenimports=[
|
||
|
|
'django.contrib.auth',
|
||
|
|
'django.contrib.contenttypes',
|
||
|
|
'django.contrib.staticfiles',
|
||
|
|
'ninja',
|
||
|
|
'ninja_extra',
|
||
|
|
'ninja_jwt',
|
||
|
|
'tinymce',
|
||
|
|
'celery',
|
||
|
|
'apps.user',
|
||
|
|
'apps.dict',
|
||
|
|
'apps.dict.controllers',
|
||
|
|
'apps.dict.fragment',
|
||
|
|
'apps.dict.schema',
|
||
|
|
'apps.project',
|
||
|
|
'apps.project.controllers',
|
||
|
|
'apps.project.schemas',
|
||
|
|
'apps.project.tools',
|
||
|
|
'apps.createDocument',
|
||
|
|
'apps.createDocument.controllers',
|
||
|
|
'apps.createDocument.extensions',
|
||
|
|
'apps.createDocument.schema',
|
||
|
|
'apps.createSeiTaiDocument',
|
||
|
|
'apps.createSeiTaiDocument.extensions',
|
||
|
|
'apps.system',
|
||
|
|
'apps.system.controllers',
|
||
|
|
'apps.system.schemas',
|
||
|
|
'utils.log_util',
|
||
|
|
'utils.log_util.middleware',
|
||
|
|
],
|
||
|
|
hookspath=[],
|
||
|
|
hooksconfig={},
|
||
|
|
runtime_hooks=[],
|
||
|
|
excludes=[],
|
||
|
|
noarchive=False,
|
||
|
|
optimize=0,
|
||
|
|
)
|
||
|
|
pyz = PYZ(a.pure)
|
||
|
|
|
||
|
|
exe = EXE(
|
||
|
|
pyz,
|
||
|
|
a.scripts,
|
||
|
|
[],
|
||
|
|
exclude_binaries=True,
|
||
|
|
name='run',
|
||
|
|
debug=False,
|
||
|
|
bootloader_ignore_signals=False,
|
||
|
|
strip=False,
|
||
|
|
upx=True,
|
||
|
|
console=True,
|
||
|
|
disable_windowed_traceback=False,
|
||
|
|
argv_emulation=False,
|
||
|
|
target_arch=None,
|
||
|
|
codesign_identity=None,
|
||
|
|
entitlements_file=None,
|
||
|
|
)
|
||
|
|
coll = COLLECT(
|
||
|
|
exe,
|
||
|
|
a.binaries,
|
||
|
|
a.datas,
|
||
|
|
strip=False,
|
||
|
|
upx=True,
|
||
|
|
upx_exclude=[],
|
||
|
|
name='run',
|
||
|
|
)
|