Skip to content

CLI Reference

usage: bin2whl [-h] [--version] [--license] [--example-config] [--platforms]
               [--version-str PKG_VERSION] [--config CONFIG] [--name NAME]
               [--binary BINARY] [--platform PLATFORM]
               [--description DESCRIPTION] [--author AUTHOR]
               [--author-email AUTHOR_EMAIL] [--output-dir OUTPUT_DIR]

bin2whl: 1.0.0b3
(c) 2026 WaterJuice. Unlicense.

Build Python wheels from pre-compiled binaries.

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --license             show license and exit
  --example-config      print an example wheel.json and exit
  --platforms           list supported platform tags and exit

common options:
  --version-str, -v PKG_VERSION
                        package version (required for single binary mode,
                        overrides config)

config file mode:
  --config, -c CONFIG   path to config file (e.g. wheel.json)

single binary mode:
  --name, -n NAME       package name
  --binary, -b BINARY   path to binary file
  --platform, -p PLATFORM
                        platform tag (see --platforms)
  --description, -d DESCRIPTION
                        package description
  --author, -a AUTHOR   author name
  --author-email, -e AUTHOR_EMAIL
                        author email

output:
  --output-dir, -o OUTPUT_DIR
                        output directory for wheel files (default: wheels)