@@ -4,14 +4,14 @@ This is an experimental Python for Android APK builder based on the
4
4
pythonic toolchain of kivy-ios. It is intended to replace the current
5
5
python-for-android toolchain, but to be significantly better. Broad goals include:
6
6
7
- - Replace the old toolchain with a more extensible pythonic one
8
- - Support SDL2
9
- - Support multiple bootstraps (user-chosen java + NDK code, e.g. for
7
+ - ✓ Replace the old toolchain with a more extensible pythonic one
8
+ - ✓ Support SDL2
9
+ - ✓ Support multiple bootstraps (user-chosen java + NDK code, e.g. for
10
10
multiple graphics backends or non-Kivy projects)
11
- - Support python3
12
- - Support some kind of binary distribution
13
- (including on Windows )
14
- - Be a standalone Pypi module
11
+ - (WIP) Support python3 (recipe exists but crashes on android)
12
+ - (WIP) Support some kind of binary distribution, including on windows (semi-implemented, just needs finishing)
13
+ - ✓ Be a standalone Pypi module (not on pypi yet but setup.py works )
14
+ - Support multiple architectures
15
15
16
16
This is at an early (but working!) stage; the new toolchain has been
17
17
fully written (save for clearing up bugs and non-essential features),
@@ -49,37 +49,19 @@ apk will be returned in the current directory. The full dist will be
49
49
built the first time (taking several minutes) but not subsequent
50
50
times.
51
51
52
-
53
- # Dependencies
54
-
55
- This list is not exhaustive. Where possible, these are not installed
56
- automatically by pip.
57
-
58
- - Virtualenv
59
- - Android SDK (link by setting the ANDROIDSDK environment variable)
60
- - Android NDK (link by setting the ANDROIDNDK environment variable)
61
- - Cython
62
-
63
- Pip:
64
- - sh
65
- - appdirs
66
- - colorama
67
- - jinja2
68
-
69
-
70
52
# Known missing stuff from P4A
71
53
72
- This list relates only to the SDL2 bootstrap unless stated otherwise -
73
- the pygame version has many of them implemented internally
74
-
75
- - Pymodules install (all bootstraps)
54
+ Relating to all bootstraps:
55
+ - Some recipes/components aren't stripped properly of doc etc.
76
56
- Public dir installation
77
- - Some recipes/components aren't stripped properly of doc etc. (all bootstraps)
78
- - Downloaded file md5 and headers aren't checked
79
57
- Some command line options of distribute.sh
58
+
59
+ Relating to SDL2 only:
60
+ - Downloaded file md5 and headers aren't checked
80
61
- Biglink is essential (the p4a disable option isn't implemented)
81
62
- Android services are not implemented at all
82
63
- App loading screen
64
+ - Keyboard height getter
83
65
- Billing support
84
66
- Kivy Launcher build (can now be implemented as a bootstrap...maybe?)
85
67
- Several build options for build.py
@@ -88,27 +70,14 @@ the pygame version has many of them implemented internally
88
70
Here are some specific things relating to changes in p4a itself since
89
71
the reference commit that the revamp is based on:
90
72
91
- - Changed how keyboard height getter works
92
- - Numpy recipe has been fixed and improved
93
- - ctypes patch added
94
-
95
- # Untested recipes
96
-
97
- These recipes exist and probably should work, but haven't been
98
- properly tested (if at all).
99
-
100
- - vispy
101
- - numpy
102
- - harfbuzz
103
- - freetype (assuming this works in normal p4a...)
104
-
105
-
106
73
# Current status
107
74
108
- Working to make some kind of alpha release .
75
+ The tool works, testing is welcomed. Doc is available [ here ] ( http://inclem.net/files/p4a_revamp_doc/ ) .
109
76
110
77
# Development notes
111
78
112
79
Original reference commit of p4a master was
113
- 7c8d4ce9db384528f7ea83e0841fe2464a558db8 - things after this
114
- (including ctypes stuff) need adding to the new toolchain.
80
+ 7c8d4ce9db384528f7ea83e0841fe2464a558db8 - possibly some things after
81
+ this need adding to the new toolchain. One of the major later
82
+ additons, including ctypes in the python build, has already been
83
+ merged here.
0 commit comments