A wrapper for PyInstaller that simplifies its usage.
Project description
ezpyi
A wrapper for PyInstaller that simplifies its usage.
Copyright (c) 2019 S. Zeid. Some rights reserved under the X11 License.
https://pypi.org/project/ezpyi
https://code.s.zeid.me/ezpyi
Note: If all you want to do is bundle a single script without writing a
spec file, PyInstaller is now able to do this out-of-the-box. However,
ezpyi will hide the spec file from you altogether, output a single file
by default, and not output to a dist
subdirectory by default. It also
supports making AppImages and contains some other convenience
options.
Installation
Run pip3 install ezpyi
.
Alternatively, clone the repository (or download a release tarball)
and run python3 setup.py install
from within the root directory
(with root privileges).
Usage
Usage: ezpyi [options] script [exefile]
Without any options, ezpyi will bundle script
and its Python dependencies
as an executable file called exefile
.
-D
or --onedir
will bundle the script as a directory called exefile
.
Unlike stock PyInstaller, the executable file within that directory will
always be called AppRun
.
-A
or --appimage
will bundle the script as an AppImage.
This requires appimagetool
to be on your $PATH. (AppImage
desktop integration and AppStream are not supported by ezpyi. If you need
these features, use -D
, modify the output directory, and manually build
the AppImage.)
To pass arguments to pyi-makespec
, use -M
or --makespec-args
. All
remaining arguments will be passed to pyi-makespec
. If there are no
remaining arguments, then pyi-makespec
's help text will be printed.
For other options, run ezpyi -h
.
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
File details
Details for the file ezpyi-0.2.1.tar.gz
.
File metadata
- Download URL: ezpyi-0.2.1.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3906372b7850cf3f4755a95125f4dcfe47446c33ef4cb712c60b9ccdb221e663 |
|
MD5 | 6c34ac080a54cdab27889b109ffa4c33 |
|
BLAKE2b-256 | 8da152988159152161b899b42b2e53f15ccd5b61d2be95a283790ff539d01982 |