smithery/i2y

castella-packaging

Package Castella applications for distribution using ux, PyInstaller, or Nuitka. Create executables, macOS app bundles, and cross-compile for other platforms.

Installation

$ npx skills add smithery/i2y --skill castella-packaging

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/i2y.

npx skills add smithery/i2y

Browse all from smithery/i2y

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,759 B
  • docs SUMMARY.md 184 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Castella App Packaging

When to use: "package Castella app", "create executable", "bundle for distribution", "macOS app bundle", "code signing", "cross-compile"

ux (Recommended)

ux creates single executables using uv. End users don't need Python installed.

Installation

uv tool install ux-py

Basic Usage

ux bundle --project . --output ./dist/

Configuration (pyproject.toml)

[tool.ux]
entry = "your_app"
include = ["assets/"]

[tool.ux.macos]
icon = "assets/icon.png"
bundle_identifier = "com.example.yourapp"
bundle_name = "Your App"

macOS App Bundle

# Signed .app bundle
ux bundle --format app --codesign --output ./dist/

# With DMG
ux bundle --format app --codesign --dmg --output ./dist/

# With notarization
ux bundle --format app --codesign --notarize --dmg --output ./dist/

Cross-Compilation

ux bundle --target linux-x86_64 --output ./dist/
ux bundle --target windows-x86_64 --output ./dist/

Supported Targets

Target PyPI
darwin-x86_64 Yes
darwin-aarch64 Yes
linux-x86_64 Yes
linux-aarch64 GitHub
windows-x86_64 Yes

PyInstaller

Alternative bundler:

uv add --dev pyinstaller
uv run pyinstaller --onefile --windowed your_app.py

Nuitka

Compiles Python to native code:

uv add --dev nuitka
uv run nuitka --standalone --onefile --disable-console your_app.py

Reference

  • docs/packaging.md - Full packaging documentation