@@ -207,6 +207,11 @@ def make_build_python(context):
207207 run (["make" , "-j" , str (os .cpu_count ())])
208208
209209
210+ def pythoninfo_build_python (context ):
211+ os .chdir (subdir ("build" ))
212+ run (["make" , "pythoninfo" ])
213+
214+
210215# To create new builds of these dependencies, usually all that's necessary is to
211216# push a tag to the cpython-android-source-deps repository, and GitHub Actions
212217# will do the rest.
@@ -903,6 +908,8 @@ def add_parser(*args, **kwargs):
903908 "configure-build" , help = "Run `configure` for the build Python" )
904909 add_parser (
905910 "make-build" , help = "Run `make` for the build Python" )
911+ add_parser (
912+ "pythoninfo-build" , help = "Display build info of the build Python" )
906913 configure_host = add_parser (
907914 "configure-host" , help = "Run `configure` for Android" )
908915 make_host = add_parser (
@@ -1019,6 +1026,7 @@ def main():
10191026 dispatch = {
10201027 "configure-build" : configure_build_python ,
10211028 "make-build" : make_build_python ,
1029+ "pythoninfo-build" : pythoninfo_build_python ,
10221030 "configure-host" : configure_host_python ,
10231031 "make-host" : make_host_python ,
10241032 "build" : build_targets ,
0 commit comments