Hi all,

I use Ubuntu 22.04, pyinstaller 5.0.1, python 3.10 and wxPython 4.1.2a1.

My software runs well.

But I can't build the distribution package, even if I use "hidden-import". I don't have any building error, but the various libraries are not generated at all.

This is my spec file :

# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(
    ['myprogram.py'],
    pathex=[],
    binaries=[],
    datas=[],
    hiddenimports=['wx', 'reportlab', 'matplotlib', 'xlsxwriter', 'openpyxl'],
    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,
    [],
    exclude_binaries=True,
    name='myprogram',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
)
coll = COLLECT(
    exe,
    a.binaries,
    a.zipfiles,
    a.datas,
    strip=False,
    upx=True,
    upx_exclude=[],
    name='myprogram',
)

Is there any incompatibility with the various programs I use ?

Thanks for reading, any help is welcome :)

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/ad56410b-f412-2ab9-f619-d7761bf9f428%40gmail.com.

Reply via email to