Skip to main content

License Build Quality Gate Minarca Client Coverage

Exebuild

A command-line utility for creating Windows executables for software distribution. Exebuild simplifies the process of signing executables using Azure Trusted Code Signing and helps create software installers using NSIS.

Description

Exebuild streamlines the tedious process of signing Windows executables with signtool.exe by combining multiple steps into a single, efficient command.

This project was created to address the complexity of signing executables on Windows and to provide a reusable solution for all the projects we develop at IKUS Software.

Installation

Install Exebuild via PyPI:

pip install exebuild

Usage: signexe

Here’s an example of how to use Exebuild to quickly sign an executable.

First, create an Azure Certificate profile. Follow the documentation here: Code Signing on Windows with Azure Trusted Signing.

CLI:

set AZURE_TENANT_ID=your-tenant-id
set AZURE_CLIENT_ID=your-client-id
set AZURE_CLIENT_SECRET=your-client-secret
set AZURE_ENDPOINT=your-endpoint
set AZURE_CODE_SIGNING_NAME=your-code-signing-name
set AZURE_CERT_PROFILE_NAME=your-cert-profile-name
signexe.exe <path-to-exe>

Python:

from exebuild import signexe
signexe('c:/path/to/my.exe')

Usage: makensis

Exebuild also simplifies creating installers using NSIS. It supports the same command-line arguments as the original makensis, but Exebuild automatically installs NSIS via NuGet.

CLI:

makensis.exe -NOCD -INPUTCHARSET UTF8 -DOutFile=installer.exe <path-to-nsi-file>

Python:

from exebuild import makensis

makensis([
    '-NOCD',
    '-INPUTCHARSET', 'UTF8',
    '-DOutFile=installer.exe',
    'c:/path/to/file.nsi',
])

Roadmap

  • Add support for installing .NET Runtime v6.0.
  • Simplify the NSIS interface for easier usage.
  • Expand signexe to support additional code-signing options (e.g., alternatives to Azure Code Signing).

Got more ideas? Submit a new issue.

Support

If you encounter any issues or need assistance, feel free to open a ticket on GitLab or GitHub.

License

This project is released under the MIT License.

Metadata

Release files for exebuild 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for exebuild 0.1.1
File Interpreter ABI Platform
exebuild-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / exebuild-0.1.1-py3-none-any.whl

Download URL exebuild-0.1.1-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9df58aae0e4c2f19557efac7b9f0d433e117ab518ffb75162b69febb238c5bf9
BLAKE2b-256 checksum
How to use checksums
4de9d5b7250b44829c3a3c1e252f7b29fdb18838128874baca6824120ff0ff3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page