A cli tool to package application with Cython & PyInstaller.
Project description
CyInstaller is a lightweight CLI tools to compile and package your application to a single executable file with related distribution files.
CyInstaller use Cython to compile application’s source codes, then package files with PyInstaller.
Installing
Install and update using pip:
pip install -U CyInstaller
Quickstart
Add a setup.yml in your project, then execute the CyInstaller cli command:
CyInstaller
CyInstaller default use setup.yml as the config file. If use another file, just execute the CyInstaller command with it as a parameter.
CyInstaller 'path/to/the/file'
Configuration
A yaml configration may looks like:
setup:
app: CyInstallerApp
root: .
modules:
- base: Common
package: common
package_from_base: false
compiles:
- ...
packages:
- ...
binaries:
- ...
datas:
- ...
relates:
- base: Backend
...
compiles:
- ...
packages:
- ...
datas:
- ...
relates:
- ...
cython_binaries: true/false
hiddenimports:
- ...
auto_hiddenimports: true/false
entrypoint: app.py
stage:
path: _build
debug: true/false
cython:
path: cython
path_tmp: compile
options:
...
pyinstaller:
path: package
template: setup.spec
dist: target
Detail for each options see the configration guidelines.
Links
Releases: https://pypi.org/project/CyInstaller/
Issue tracker: https://github.com/solardiax/cyinstaller/issues
Project details
Release history Release notifications | RSS feed
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
Hashes for cyinstaller-1.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf3013a695ac16d9fce0622c21cd1dc53a7428f211525cfdf31242815124f6f |
|
MD5 | 2ac05ae47db381d0870af1b17f4ed1a9 |
|
BLAKE2b-256 | 384b4ae15d6cf817e624e8344d03b78e85f792f400681041d7076985e147b87f |