Skip to content
Back to skills

Castella Packaging

ASecurity

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

  • 41 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 5, 2026
designpythonbashgitdocumentation

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add i2y/castella --skill castella-packaging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Castella Packaging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Castella Packaging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/i2y-castella-packaging/badge)](https://www.skillsdirectory.com/skills/i2y-castella-packaging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: castella-packaging
description: Package Castella applications for distribution using ux, PyInstaller, or Nuitka. Create executables, macOS app bundles, and cross-compile for other platforms.
---

# Castella App Packaging

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

## ux (Recommended)

[ux](https://github.com/i2y/ux) creates single executables using uv. End users don't need Python installed.

### Installation

```bash
uv tool install ux-py
```

### Basic Usage

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

### Configuration (pyproject.toml)

```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

```bash
# 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

```bash
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:

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

## Nuitka

Compiles Python to native code:

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

## Reference

- `docs/packaging.md` - Full packaging documentation

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.