A side-car distutils command to automate creation of the pyinstaller packages in a non-intrusive way
Project description
Overview
bdist_pyinstaller is a side-car distutils command to automate creation of the pyinstaller packages in a non-intrusive way.
The problem dist_pyinstaller is trying to solve
The application written in Python is never directly executed natively. Similarly to Java, Python code is compiled into a byte code(opcode) and it's running on a Python VM.
As a consequence, to run anything written in Python one needs to have an installation of Python compiler+VM.
It usually comes as OS-dependent package(rpm, deb etc.) or it can be compiled from source.
Furthermore, despite having a very rich core libraries at their disposal, Python programs often need to pull some 3rd party packages in. Some packages require libraries which have to be pre-installed on the OS level.
This would require the combination of:
- Internet connection or setting up the equivalent repositories holding the packages
- Priviledge escalation if the installation of python and/or extra packages is to be treated as a system-wide one
- An extra care when dealing with version upgrades(both python itself as well as the packages) as various applications often come with conflicting requirements which are not straight forward to solve on a shared platform.
There are solutions to all these problems, but they all come with the extra complexity, reduced reliability and maintanance cost when the aim is to have simple and stable way of executing a given program/utility.
bdist_installer offers a very simple path from a well defined Python utility to a single binary with all the required bits frozen-in. That includes the Python runtime. Thanks to pyinstaller used behind the scenes it is very powerful, yet still very simple in non-trivial use-cases.
Table of Contents
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 bdist_pyinstaller-0.2.1.tar.gz
.
File metadata
- Download URL: bdist_pyinstaller-0.2.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24945cf2c3284288e3ac3fb79d8ca6cc590fa0f2add55bda7c1bd7bde573cad5 |
|
MD5 | 496cbf1e476b2053a9418f6cb8087abc |
|
BLAKE2b-256 | 772ef4508bf7e3f6e6505c457b67ff5541fe8991e475f03a69e5808b7eb01029 |
File details
Details for the file bdist_pyinstaller-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: bdist_pyinstaller-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e5bd3d5f525fde5c048e47caf16dfa4c7f9cca10c2ba6468fb304dbe0f4abb2 |
|
MD5 | da38ced7aa9b9bf746b22252066c7f2a |
|
BLAKE2b-256 | 69d163ad525612ca137192753c095da28e10ebbebf3d0193a7bc6595c46a54bf |