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:
- Install Album
- Activate the album environment:
micromamba activate album
- Install the album package plugin:
micromamba install album-package -c conda-forge
Or via pip:
pip install album-package
- 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
Metadata
Release files for album-package 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| album_package-0.5.1.tar.gz | 11.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| album_package-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / album_package-0.5.1.tar.gz
| Download URL | album_package-0.5.1.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
697023838b434486edc33605cecdc30d1de9ae6742b7f31b6ce1903fc0c196d7
|
|
BLAKE2b-256 checksum How to use checksums |
348662bb709795801663f36f5efcd5ed57f0941895ee125b84b963798004aa48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / album_package-0.5.1-py3-none-any.whl
| Download URL | album_package-0.5.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91fc4dc6be712a0067f29ba55afa97f9d4b682e079dcadec0a91e4b07466ffda
|
|
BLAKE2b-256 checksum How to use checksums |
11de35670ea2c9a084bfb1af821406cb0acca59fadb7f34fef854092f928b23c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|