Skip to main content

album plugin to package solutions into executable install wizards

Project description

Album plugin for packaging solutions into executables

This plugin is used to create installation executables for Album and Album solutions, so Album and a solution can be installed with a simple double click. The executable creates a shortcut for running Albums UI on the desktop of the user. The executables can be distributed to a different system running the same operating system. To create executables for different operating systems, run this plugin on a system running the target operating system. If the the target system runs Windows or MacOS it doesn't need to have anything preinstalled, the executable will install every needed component (Micromamba and album) into the ~/.album directory if they are not already installed in this location. Linux users need to have the binutils package installed.

Installation:

  1. Install Album
  2. Activate the album environment:
conda activate album
  1. Install the album package plugin:
pip install album-package
  1. If you are using a linux system, make sure the source and the target system got the binutils package installed. For example on ubuntu it can be installed with the following command:
apt-get update && apt-get install binutils

Usage:

To create an executable which installs Album run following command:

album package --output_path /your/output/path

To create an executable which installs Album and a solution in one go run following command:

album package --solution /path/to/your/solution.py --output_path /your/output/path

Input parameter:

  • solution: The album solution.py file which should be packed into an executable. If you provide the path to a directory containing a solution.py all files in the directory will be packaged into the solution executable. If you provide the direct path to a solution.py only the solution will packaged. If your solution contains local imports, make sure all imported files lie in the same directory as the solution and you provide the path containing the solution.py. If this parameter is not set, the resulting executable will only install Album without a solution.
  • output_path: The path where the executable should be saved

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

album_package-0.4.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

album_package-0.4.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file album_package-0.4.0.tar.gz.

File metadata

  • Download URL: album_package-0.4.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for album_package-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f3c412a0f199c66ab33aa454a69d8c5d4190b3ed20161831a3f28c86a106764d
MD5 37c40a2c59d75f9cf289a581fefcb06b
BLAKE2b-256 f29024b74ea8192f926e108408eb5e94dae9912fb5654f9b0781ebebbaf07ee5

See more details on using hashes here.

File details

Details for the file album_package-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for album_package-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0826618c668f4ea788bf4ce3bf2a1a1a1d889cb0c43b50a39552f29c9614ef0
MD5 ad3f38d752f14aa93b34f8e530011b88
BLAKE2b-256 214ff10e85745e6e1c3b9b11e9699ffc70cb10946bd84652155c37e8c2e2aea2

See more details on using hashes here.

Supported by

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