Python package for compiling projects with Nuitka and creating Windows installers with Wix Toolset
Project description
Installer Creator
Python package for compiling projects with Nuitka and creating Windows installers with Wix Toolset.
Installation
pip install installer-creator
Prerequisites
-
Wix Toolset (required for installer creation):
dotnet tool install --global wix
The package will automatically install the Wix UI extension if missing
-
Nuitka (will be installed automatically)
Configuration
Create a build_config.yaml file:
# Nuitka build configuration
project:
name: "MyApp" # Application name
version: "1.0.0"
description: "My Application Description"
company: ""
icon: "app_icon.ico" # Optional icon file
main_file: "main.py" # Entry point file
build:
output:
directory: "dist"
filename: "my_app.exe" # Output executable name
options:
standalone: true
onefile: true
splash_screen: ""
include:
packages:
- ""
data_dirs:
- source: "resources"
target: "resources"
external_data:
- "*.dll"
files:
- "requirements.txt"
- "readme.md"
- "*.json" # Example wildcard pattern
copy_beside:
- "resources"
installer:
enabled: true
output:
directory: "dist"
filename: "my_app_installer.msi"
metadata:
manufacturer: "Your Company"
product_name: "My Application"
upgrade_code: "" # Generate with installer-creator generate-uuid
ui:
banner_image: "banner.bmp"
dialog_image: "dialog.bmp"
license_file: "license.rtf"
shortcuts:
desktop: true
start_menu: true
debug:
enabled: false
console:
mode: "disabled"
stdout: null
stderr: null
exclude:
- "__pycache__"
- "*.pyc"
- "*.pyo"
- "*.pyd"
- "build"
- "dist"
Resource Paths
The installer supports flexible resource locations:
- UI images (banner/dialog) can be anywhere
- License file can be anywhere
- Paths can be absolute or relative to config file
Usage
# Generate UUID for upgrade code
installer-creator generate-uuid -s "MyAppName"
# Build executable
installer-creator build-exe -c build_config.yaml
# Create installer
installer-creator build-installer -c build_config.yaml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file installer_creator-0.1.3.tar.gz.
File metadata
- Download URL: installer_creator-0.1.3.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
202372a0dfc733364e907629c14836b1fedf3f3e8d5f50cf4bc8c3eac95ec2cb
|
|
| MD5 |
9527e2cf048335b1907f2b7ca8f3fa85
|
|
| BLAKE2b-256 |
d0ba28752d1bccdc1cfefae13dfc3f2eea02b7c0929d146a2fa13cc36f14496d
|
File details
Details for the file installer_creator-0.1.3-py3-none-any.whl.
File metadata
- Download URL: installer_creator-0.1.3-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e03f5f017cdfe215035faf6a4e409bb407ca704a189bb257ac9ac97a324d9c5
|
|
| MD5 |
999f87984bc3ffe5e7ee1b728ca1850c
|
|
| BLAKE2b-256 |
729f60dcffe04fd56fa9f32f6d5750cb94ce24de4292c86246c9591f4d7fc836
|