Skip to content

Commit 7e4841d

Browse files
committed
Added doc note about overriding recipe source locations
1 parent 873e7b8 commit 7e4841d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/source/quickstart.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,17 @@ include such as::
282282
--android_api 27
283283
--requirements kivy,openssl
284284

285+
Overriding recipes sources
286+
~~~~~~~~~~~~~~~~~~~~~~~~~~
287+
288+
You can override the source of any recipe using the
289+
``$P4A_recipename_DIR` environment variable. For instance, to test
290+
your own Kivy branch you might set::
291+
292+
export P4A_kivy_DIR=/home/username/kivy
293+
294+
The specified directory will be copied into python-for-android instead
295+
of downloading from the normal url specified in the recipe.
285296
286297
Going further
287298
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)