1UPGRADE_PYTHONCAPI.PY(1) User Commands UPGRADE_PYTHONCAPI.PY(1)
2
3
4
6 upgrade_pythoncapi.py – upgrade C extension modules to newer Python C
7 API
8
10 upgrade_pythoncapi.py [-h] [-o OPERATIONS] [-q] [-c] [-B] [-C]
11 [-d PATH] [file_or_directory ...]
12
14 POSITIONAL ARGUMENTS
15 file_or_directory
16
17 OPTIONAL ARGUMENTS
18 -h, --help
19 Show a help message and exit
20
21 -o OPERATIONS, --legacy OPERATIONS
22 Space separated list of operation names to apply
23
24 -q, --quiet
25 Quiet mode
26
27 -c, --to-stdout
28 Write output into stdout instead of modifying files in-place
29 (imply quiet mode)
30
31 -B, --no-backup
32 Don’t create .old backup files
33
34 -C, --no-compat
35 Don’t add:
36 #include "pythoncapi_compat.h"
37
38 -d PATH, --download PATH
39 Download latest pythoncapi_compat.h file to designated PATH
40
41
42
43 January 2022 UPGRADE_PYTHONCAPI.PY(1)