mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[3.13] gh-120522: Add a --with-app-store-compliance
configure option to patch out problematic code (GH-120984) (#121173)
gh-120522: Add a `--with-app-store-compliance` configure option to patch out problematic code (GH-120984)
* Add --app-store-compliance configuration option.
* Added blurb.
* Correct tab-vs-spaces formatting issue.
* Correct source file name in docs.
* Correct source code reference in Mac docs
* Only apply the patch forward, and ensure the working directory is correct.
* Make patching reslient to multiple builds.
* Documentation fixes found during review
* Documentation and configure.ac syntax improvements
* Regenerate configure script.
* Silence the patch echo output.
---------
(cherry picked from commit 48cd104b0c
)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
00b071137b
commit
0dfb437a32
9 changed files with 238 additions and 2 deletions
|
@ -945,6 +945,17 @@ See :source:`Mac/README.rst`.
|
|||
Specify the name for the python framework on macOS only valid when
|
||||
:option:`--enable-framework` is set (default: ``Python``).
|
||||
|
||||
.. option:: --with-app-store-compliance
|
||||
.. option:: --with-app-store-compliance=PATCH-FILE
|
||||
|
||||
The Python standard library contains strings that are known to trigger
|
||||
automated inspection tool errors when submitted for distribution by
|
||||
the macOS and iOS App Stores. If enabled, this option will apply the list of
|
||||
patches that are known to correct app store compliance. A custom patch
|
||||
file can also be specified. This option is disabled by default.
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
iOS Options
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue