upgrade_pythoncapi.py - Man Page
upgrade_pythoncapi.py – upgrade C extension modules to newer Python C API
Synopsis
upgrade_pythoncapi.py [-h] [-o OPERATIONS] [-q] [-c] [-B] [-C] [-d PATH] [file_or_directory ...]
Options
Positional Arguments
file_or_directory
Optional Arguments
- -h, --help
Show a help message and exit
- -o OPERATIONS, --legacy OPERATIONS
Space separated list of operation names to apply
- -q, --quiet
Quiet mode
- -c, --to-stdout
Write output into stdout instead of modifying files in-place (imply quiet mode)
- -B, --no-backup
Don’t create .old backup files
- -C, --no-compat
Don’t add:
#include "pythoncapi_compat.h"
- -d PATH, --download PATH
Download latest pythoncapi_compat.h file to designated PATH
Info
January 2022