Skip to content

Commit 4ae3707

Browse files
mhsmithhugovkAA-Turner
authored
Add Android instructions to the devguide (GH-1402)
Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Adam Turner <[email protected]>
1 parent 8bf6312 commit 4ae3707

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

getting-started/setup-building.rst

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,12 @@ used in ``python.sh``:
458458
.. _wasmtime: https://wasmtime.dev
459459
.. _WebAssembly: https://webassembly.org
460460

461+
Android
462+
-------
463+
464+
Build and test instructions for Android are maintained in the CPython repository
465+
at :cpy-file:`Android/README.md`.
466+
461467
iOS
462468
---
463469

@@ -608,8 +614,8 @@ for details.
608614
Install dependencies
609615
====================
610616

611-
This section explains how to install additional extensions (for example, ``zlib``)
612-
on Linux, macOS and iOS.
617+
This section explains how to install libraries which are needed to compile
618+
some of CPython's modules (for example, ``zlib``).
613619

614620
.. tab:: Linux
615621

@@ -775,6 +781,16 @@ on Linux, macOS and iOS.
775781

776782
On Windows, extensions are already included and built automatically.
777783

784+
.. tab:: Android
785+
786+
The BeeWare project maintains `scripts for building Android dependencies`_,
787+
and distributes `pre-compiled binaries`_ for each of them.
788+
These binaries are automatically downloaded and used by the CPython
789+
build script at :cpy-file:`Android/android.py`.
790+
791+
.. _scripts for building Android dependencies: https://github.com/beeware/cpython-android-source-deps
792+
.. _pre-compiled binaries: https://github.com/beeware/cpython-android-source-deps/releases
793+
778794
.. tab:: iOS
779795

780796
As with CPython itself, the dependencies for CPython must be compiled for

0 commit comments

Comments
 (0)