Solution Application Framework - SAF Desktop Installer
Overview
The SAF Desktop Installer enables packaging SAF-based solutions into standalone, distributable installers for desktop deployment. It is part of the Solution Application Framework (SAF) toolchain and is typically invoked through the saf build command provided by the SAF CLI.
The generated installer is self-contained: it bundles the solution code, all Python dependencies, and the Python interpreter itself, so end users can run the solution without needing a pre-configured development environment. Ansys products and other external tools required by the solution must still be installed separately on the target machine.
Key capabilities include:
Standalone packaging: Uses PyInstaller to produce a single installer that includes all necessary dependencies and a Python interpreter.
Cross-platform support: Generates installers compatible with the operating system where the build is executed (Windows .exe or Linux executable).
Online and offline modes: By default, installers download dependencies at install time, while local, Git, private, and direct-URL dependencies are bundled. The --offline-package option bundles the remaining dependencies for environments without internet access. The lockfile packaged with a UV solution is scoped to the build operating system; for offline packages it is also scoped to the selected Python minor version. Installers are not cross-platform dependency bundles.
UV and Poetry solutions: UV is used for UV-based solutions. Existing Poetry-based solutions remain supported, but Poetry support is deprecated. UV solutions can declare dynamic = ["version"]; the version computed by the build backend is read from a wheel built in a temporary folder.
Customizable build options: Supports encryption, code obfuscation, custom entry points, and configurable Python versions.
Documentation embedding: Automatically builds and embeds Sphinx documentation so users can access it offline from within the solution.
From a workflow perspective, SAF Desktop Installer is the final step in preparing a solution for distribution. Once a solution has been developed and tested locally using SAF CLI and SAF Desktop Orchestrator, the installer packages it into a form that can be delivered to end users or deployed across an organization.
Installation
Ensure you have all the necessary prerequisites.
To install SAF Desktop Installer, run:
pip install ansys-saf-desktop-installer
Documentation
Visit the official documentation for detailed information on how to use SAF Desktop Installer.
Troubleshooting
For troubleshooting or reporting issues, please open an issue in the project repository.
Please follow these steps to report an issue:
Go to the project repository.
Click on the Issues tab.
Click on the New Issue button.
Provide a clear and detailed description of the issue you are facing.
Include any relevant error messages, code snippets, or screenshots.
Additionally, you can refer to the official documentation for additional resources and troubleshooting guides.
Contribute
Contributions are welcome! If you would like to contribute, please follow the guidelines provided in the Contribute section of the official documentation.
Test mock solutions
The four solutions under tests/mocks/ share their source code, documentation and assets between backends. Each contains pyproject.poetry.toml, pyproject.uv.toml, poetry.lock and uv.lock.
The test fixtures select solution_backend and copy the matching configuration as pyproject.toml, together with only its lockfile, into an isolated temporary directory. The stored mocks are templates, not projects to build directly: both lockfiles must never reach backend detection together. Poetry-specific tests explicitly select the Poetry backend; other tests keep the existing UV default.
License
You can find the full text of the license in the LICENSE file.
Changelog
The changelog section provides a summary of notable changes for each version of SAF Desktop Installer for Python. It helps you keep track of updates, bug fixes, new features, and improvements made to the project over time.
To view the complete changelog, visit the project repository and navigate to the CHANGELOG file. It provides a comprehensive list of changes categorized by version, along with brief descriptions of each change.
Metadata
Release files for ansys-saf-desktop-installer 1.20.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ansys_saf_desktop_installer-1.20.0.tar.gz | 146.4 kB | With provenance | Details for ansys_saf_desktop_installer-1.20.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ansys_saf_desktop_installer-1.20.0-py3-none-any.whl | Python 3 | none | any | Details for ansys_saf_desktop_installer-1.20.0-py3-none-any.whl |
Total release size: 303.8 kB
Release files / ansys_saf_desktop_installer-1.20.0.tar.gz
| Download URL | ansys_saf_desktop_installer-1.20.0.tar.gz |
|---|---|
| Size | 146.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c880198f6b9782ee1ce85f625c3e34f777e0b2d3915207c295882d9eeff5363
|
|
BLAKE2b-256 checksum How to use checksums |
92e28172d36c03804e4b16fc62dde3ace74b47d236185b36a93b06964e154604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / ansys_saf_desktop_installer-1.20.0-py3-none-any.whl
| Download URL | ansys_saf_desktop_installer-1.20.0-py3-none-any.whl |
|---|---|
| Size | 157.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c57adae519bf3681e59f2517587ccc1966d3df75604522a380ffa30bcb6ce115
|
|
BLAKE2b-256 checksum How to use checksums |
8453a9485dc182ac75c2b1f0d9c0c94e11d49e12f80d386efc52e9ac36ab77b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logSecurity for ansys-saf-desktop-installer 1.20.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ansys_saf_desktop_installer-1.20.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.