Wechsel von nuitka zu pyinstaller
This commit is contained in:
parent
eae1112815
commit
586b8f7dd9
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,6 @@
|
||||
.idea
|
||||
__pycache__
|
||||
venv
|
||||
build
|
||||
dist
|
||||
Dicom Extractor 2023.exe
|
46
main.spec
Normal file
46
main.spec
Normal file
@ -0,0 +1,46 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
||||
a = Analysis(
|
||||
['main.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=["pydicom.encoders.gdcm", "pydicom.encoders.pylibjpeg"],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
noarchive=False,
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
[],
|
||||
name='Dicom Extractor 2023',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=False,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
icon='Resources/icon.ico'
|
||||
)
|
||||
|
||||
try:
|
||||
os.mkdir('{0}\\Resources'.format(DISTPATH))
|
||||
except FileExistsError:
|
||||
pass
|
||||
shutil.copyfile('Resources\\icon.ico', '{0}\\Resources\\icon.ico'.format(DISTPATH))
|
@ -1,3 +1,3 @@
|
||||
PyQt6
|
||||
pydicom
|
||||
nuitka
|
||||
pyinstaller
|
||||
|
Loading…
Reference in New Issue
Block a user