[issue32210] Add the versions of the Android SDK and NDK to test.pythoninfo

2017-12-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: The NDK version may be printed by the pythoninfo make target before test.pythoninfo is run on Android. platform.android_ver() (not yet implemented, see issue 26855) must be added to collect_sys() in test.pythoninfo. --

[issue32210] Add the versions of the Android SDK and NDK to test.pythoninfo

2017-12-04 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot that pythoninfo already has: call_func(info_add, 'sys.androidapilevel', sys, 'getandroidapilevel') Well, that's the *build time* API level, not the most useful one, but still useful. --

[issue32210] Add the versions of the Android SDK and NDK to test.pythoninfo

2017-12-04 Thread STINNER Victor
STINNER Victor added the comment: Maybe add a collect_android() function which would exit early if sys.getandroidapilevel() doesn't exist? > * The NDK version can be obtained by parsing the file > $ANDROID_NDK_ROOT/source.properties. > * The versions of the SDK

[issue32210] Add the versions of the Android SDK and NDK to test.pythoninfo

2017-12-04 Thread Xavier de Gaye
New submission from Xavier de Gaye : * The NDK version can be obtained by parsing the file $ANDROID_NDK_ROOT/source.properties. * The versions of the SDK build-tools, emulator and platform-tools packages as well as those of the system images can be obtained by parsing the