← Back to list

castella-packaging
by i2y
Castella is a cross-platform pure Python UI framework
⭐ 34🍴 1📅 Jan 24, 2026
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 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
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon
