|
6 | 6 |
|
7 | 7 | class Python3Recipe(GuestPythonRecipe):
|
8 | 8 | '''
|
9 |
| - The python3's recipe. |
| 9 | + The python3's recipe |
| 10 | + ^^^^^^^^^^^^^^^^^^^^ |
10 | 11 |
|
11 |
| - .. note:: This recipe can be built only against API 21+. Also, in order to |
12 |
| - build certain python modules, we need to add some extra recipes to our |
13 |
| - build requirements: |
| 12 | + The python 3 recipe can be built with some extra python modules, but do so, |
| 13 | + we need some libraries. Per default, we ship the python3 recipe with some |
| 14 | + common libraries, defined at ``depends``.We also support some optional |
| 15 | + libraries, which are less common that the ones defined at ``depends``, so |
| 16 | + we added them as optional dependencies (``opt_depends``). |
14 | 17 |
|
15 |
| - - ctypes: you must add the recipe for ``libffi``. |
| 18 | + Below you have a relationship between the python modules and the recipe |
| 19 | + libraries:: |
16 | 20 |
|
| 21 | + - _ctypes: you must add the recipe for ``libffi``. |
| 22 | + - _sqlite3: you must add the recipe for ``sqlite3``. |
| 23 | + - _ssl: you must add the recipe for ``openssl``. |
| 24 | + - _bz2: you must add the recipe for ``libbz2`` (optional). |
| 25 | + - _lzma: you must add the recipe for ``liblzma`` (optional). |
| 26 | +
|
| 27 | + .. note:: This recipe can be built only against API 21+. |
| 28 | +
|
| 29 | + .. versionchanged:: 2019.10.06.post0 |
| 30 | + Added optional dependencies: :mod:`~pythonforandroid.recipes.libbz2` |
| 31 | + and :mod:`~pythonforandroid.recipes.liblzma` |
17 | 32 | .. versionchanged:: 0.6.0
|
18 | 33 | Refactored into class
|
19 | 34 | :class:`~pythonforandroid.python.GuestPythonRecipe`
|
|
0 commit comments