diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-26 23:28:56 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-26 23:28:56 +0800 |
| commit | fdad69e170edf764c6f12d3ecabf826e206cfafe (patch) | |
| tree | 0e2429225d64280a37a92bcb29c2569607c63ce5 /repos/extra/python-gpep517/default-bytecode-levels.patch | |
| parent | fe1b7e3f93bbb7843a27eca69cfffa5882881352 (diff) | |
| download | alicelinux-fdad69e170edf764c6f12d3ecabf826e206cfafe.tar.gz alicelinux-fdad69e170edf764c6f12d3ecabf826e206cfafe.zip | |
python-gpep517: updated to 16
Diffstat (limited to 'repos/extra/python-gpep517/default-bytecode-levels.patch')
| -rw-r--r-- | repos/extra/python-gpep517/default-bytecode-levels.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/repos/extra/python-gpep517/default-bytecode-levels.patch b/repos/extra/python-gpep517/default-bytecode-levels.patch new file mode 100644 index 00000000..55aa77ab --- /dev/null +++ b/repos/extra/python-gpep517/default-bytecode-levels.patch @@ -0,0 +1,16 @@ +diff --git a/gpep517/__main__.py b/gpep517/__main__.py +index d519c75..2dc0b49 100644 +--- a/gpep517/__main__.py ++++ b/gpep517/__main__.py +@@ -350,9 +350,9 @@ def add_install_args(parser): + f"(default: {sys.executable})") + group.add_argument("--optimize", + type=parse_optimize_arg, +- default=[], ++ default=[0], + help="Comma-separated list of optimization levels " +- "to compile bytecode for (default: none), pass 'all' " ++ "to compile bytecode for (default: 0), 0s 'all' " + "to enable all known optimization levels (currently: " + f"{', '.join(str(x) for x in ALL_OPT_LEVELS)})") + |