Skip to main content

SAF desktop installer

Project description

Python PyPI GH-CI Codecov Apache Ruff

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; the --offline-package option bundles everything for environments without internet access.

  • 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, the Desktop Installer is the final step in preparing a solution for distribution. Once a solution has been developed and tested locally using the SAF CLI and 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. Then, refer to the installation guidelines for detailed instructions on how to install the project in your system.

Documentation

The official documentation of SAF Desktop Installer contains the following chapters:

  • Getting started. This section provides a brief overview and instructions on how to get started with the project. It typically includes information on how to install the project, set up any necessary dependencies, and run a basic example or test to ensure everything is functioning correctly.

  • User guide. The user guide section offers detailed documentation and instructions on how to use the project. It provides comprehensive explanations of the project’s features, functionalities, and configuration options. The user guide aims to help users understand the project’s concepts, best practices, and recommended workflows.

  • Contribute. This section provides guidelines and instructions on how to contribute to the project. It includes information on how to set up the development environment, run tests, submit pull requests, and follow contribution guidelines.

Troubleshooting

For troubleshooting or reporting issues, open an issue in the project repository.

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.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansys_saf_desktop_installer-1.15.dev1.tar.gz (132.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ansys_saf_desktop_installer-1.15.dev1-py3-none-any.whl (140.4 kB view details)

Uploaded Python 3

File details

Details for the file ansys_saf_desktop_installer-1.15.dev1.tar.gz.

File metadata

File hashes

Hashes for ansys_saf_desktop_installer-1.15.dev1.tar.gz
Algorithm Hash digest
SHA256 192d1c0221d0684119b8b2bd5fe0342318081a2e90ec4974b05089e80986652f
MD5 57665f28f15ab82c9249cb5863a6b9ff
BLAKE2b-256 bb3c079d5d909d9280a2f72b99850acd3dda84fb9616e6fae97a4f5a2f8cb840

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_saf_desktop_installer-1.15.dev1.tar.gz:

Publisher: ci_cd_release.yml on ansys/saf-desktop-installer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ansys_saf_desktop_installer-1.15.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_saf_desktop_installer-1.15.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed586a47083884b5b3000cfcbb93da0e68910f30a10df6a159d2f0a90870641
MD5 2d94673b6c6bb0b9232c11aa0c2dd017
BLAKE2b-256 6b58f6fe1593ccf021ab9cbf2f5f086b6874af9c2341b9789a6662db65e2ee22

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_saf_desktop_installer-1.15.dev1-py3-none-any.whl:

Publisher: ci_cd_release.yml on ansys/saf-desktop-installer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page