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 Distributions
Hashes for cyinstaller-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3112dc663f19a0a88ec2f0f957aac162d7922b70de2af390b5694994d756a21 |
|
MD5 | 99fc956d21db5efa03cf0704c4162e74 |
|
BLAKE2b-256 | 5a2d684b4fc9dc869d4588c590d28e715bf5637cf0873d0e8f584dff455c2d4a |
Hashes for CyInstaller-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad161906db88f5087d26fca7a8d3141ff28e0b984a31a3eaec3982560fa2f07f |
|
MD5 | 3e611736d35bc58fe77b671b269f8fee |
|
BLAKE2b-256 | 49a5cf9832072d51f00c90b5fb7f3ac268ec99d69766a9fe91f6bc4ddc07faa1 |