Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.12 KB

File metadata and controls

19 lines (14 loc) · 1.12 KB

CLI

portable-python is a single-entry-point CLI (built with click via runez.click); every command lives in cli.py.

portable-python [GLOBAL OPTIONS] COMMAND [ARGS]

Two global options are worth knowing: --config/-c (which config file to use) and --dryrun/-n (print what would happen without doing it — the fastest way to understand a build). portable-python --help lists the rest. The top-level group loads config (via PPG) before any subcommand runs.

Commands

  • build - Build a portable python binary.
  • build-report - Show which modules will be compiled and whether they can build.
  • inspect - Check whether a python installation is portable.
  • list - List available versions for a family.
  • diagnostics - Show system diagnostics and active config.
  • recompress - Re-compress an existing tarball/folder (compare sizes).
  • lib-auto-correct - Rewrite a build's lib references to relative paths.