Назад към всички

pyinstaller-config

// Configure PyInstaller for Python binary builds with spec files and bundling options.

$ git log --oneline --stat
stars:384
forks:73
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namepyinstaller-config
descriptionConfigure PyInstaller for Python binary builds with spec files and bundling options.
allowed-toolsRead, Write, Edit, Bash, Glob, Grep

PyInstaller Config

Configure PyInstaller for Python binary builds.

Generated Patterns

# myapp.spec
block_cipher = None

a = Analysis(
    ['src/myapp/__main__.py'],
    pathex=[],
    binaries=[],
    datas=[('src/myapp/data', 'data')],
    hiddenimports=['click', 'rich'],
    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='myapp',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    console=True,
)

Target Processes

  • cli-binary-distribution
  • package-manager-publishing