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:
- Install Album
- Activate the album environment:
conda activate album
- Install the album package plugin:
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
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
Built Distribution
File details
Details for the file album_package-0.3.3.tar.gz
.
File metadata
- Download URL: album_package-0.3.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a756f8dda539a1b095bd52cffde00d0209530b0361d060a4bf704cc5a45f47e |
|
MD5 | b3cc27422e94dc792dc7956c74bc2659 |
|
BLAKE2b-256 | 4889718645002b03f26de51f24c9c2d6dd091b8ac8e2956f217b132cfc98e469 |
File details
Details for the file album_package-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: album_package-0.3.3-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f57816e0f0c48cfece3ba93dad41173e38c953cce5c204d68fb62e2d0cc53c |
|
MD5 | 090b2a316ac056b305406727148eb3c4 |
|
BLAKE2b-256 | dc38d6e8d519f155c1ae8f34ad08d433d2c59532fdd88a22596144a667e016b0 |