Skip to main content

CyInstaller

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 --file setup.yml

CyInstaller default use setup.yml as the config file. If use another file, just execute the CyInstaller command with it as a parameter.

CyInstaller --file 'path/to/the/file'

Configuration

A yaml configuration 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 configuration guidelines.

Metadata

Release files for CyInstaller 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CyInstaller 1.2.0
File Size Uploaded
cyinstaller-1.2.0.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CyInstaller 1.2.0
File Interpreter ABI Platform
cyinstaller-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.3 kB

Release files / cyinstaller-1.2.0.tar.gz

Download URL cyinstaller-1.2.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
894b39cf2b109ae0b8714e8590aed82e1bf16c10ee386517d271e045090daf5c
BLAKE2b-256 checksum
How to use checksums
506eff4b4a3078bc0d8d24a61dc35734358502f0d97da14edc97d2a87d3cf155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.8 Darwin/23.3.0

Release files / cyinstaller-1.2.0-py3-none-any.whl

Download URL cyinstaller-1.2.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5bf547e95cac7f207a76560274783473f9a609aefff46abdbf5d36b005d056e
BLAKE2b-256 checksum
How to use checksums
9764838a6698daffface8dd5e2c0e214c53774edc93787b3f28bebfc97dbb4d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.8 Darwin/23.3.0

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page