1
1
python-for-android
2
2
==================
3
3
4
- |Build Status |
5
-
6
- .. |Build Status | image :: https://secure.travis-ci.org/kivy/python-for-android.png?branch=master
7
- :target: https://travis-ci.org/kivy/python-for-android
4
+ [ ![ Build Status] ( https://travis-ci.org/kivy/python-for-android.svg?branch=master )] ( https://travis-ci.org/kivy/python-for-android )
5
+ [ ![ Backers on Open Collective] ( https://opencollective.com/kivy/backers/badge.svg )] ( #backers )
6
+ [ ![ Sponsors on Open Collective] ( https://opencollective.com/kivy/sponsors/badge.svg )] ( #sponsors )
8
7
9
8
python-for-android is a packager for Python apps on Android. You can
10
9
create your own Python distribution including the modules and
@@ -27,45 +26,17 @@ For documentation and support, see:
27
26
- Mailing list: https://groups.google.com/forum/#!forum/kivy-users or
28
27
https://groups.google.com/forum/#!forum/python-android .
29
28
30
- In 2015 these tools were rewritten to provide a new, easier to use and
31
- extend interface. If you are looking for the old toolchain with
32
- distribute.sh and build.py, it is still available at
33
- https://github.com/kivy/python-for-android/tree/old\_ toolchain, and
34
- issues and PRs relating to this branch are still accepted. However, the
35
- new toolchain contains all the same functionality via the built in
36
- pygame bootstrap.
29
+ ## Documentation
37
30
38
- In the last quarter of 2018 the python recipes has been changed, the new recipe
39
- for python3 (3.7.1) has a new build system which has been applied to the ancient
40
- python recipe, allowing us to bump the python2 version number to 2.7.15. This
41
- change, unifies the build process for both python recipes, and probably solve
42
- some issues detected over the years, but unfortunately, this change breaks the
43
- pygame bootstrap (in a near future we will fix it or remove it). Also should be
44
- mentioned that the old python recipe is still usable, and has been renamed to
45
- `python2legacy `. This `python2legacy ` recipe allow us to build with a minimum
46
- api lower than 21, which is not the case for the new python recipes which are
47
- limited to a minimum api of 21. All this work has been done using android ndk
48
- version r17c, and your build should success with that version...but be aware
49
- that the project is in constant development so...the ndk version will change
50
- at some time.
51
-
52
- Those mentioned changes has been done this way to make easier the transition
53
- between python3 and python2. We will slowly phase out python2 support
54
- towards 2020...so...if you are using python2 in your projects you should
55
- consider to migrate it into python3.
56
-
57
- Documentation
58
- =============
59
-
60
- Follow the `quickstart
61
- instructions <https://python-for-android.readthedocs.org/en/latest/quickstart/> `__
31
+ Follow the [ quickstart
32
+ instructions] ( < https://python-for-android.readthedocs.org/en/latest/quickstart/ > )
62
33
to install and begin creating APKs.
63
34
64
- Quick instructions to start would be::
35
+ Quick instructions to start would be:
65
36
66
37
pip install python-for-android
67
38
68
- or to test the master branch::
39
+ or to test the master branch:
69
40
70
41
pip install git+https://github.com/kivy/python-for-android.git
71
42
@@ -79,28 +50,26 @@ This should return a list of recipes available to be built.
79
50
To build any distributions, you need to set up the Android SDK and NDK
80
51
as described in the documentation linked above.
81
52
82
- If you did this, to build an APK with SDL2 you can try e.g.::
53
+ If you did this, to build an APK with SDL2 you can try e.g.:
83
54
84
55
p4a apk --requirements=kivy --private /home/asandy/devel/planewave_frozen/ --package=net.inclem.planewavessdl2 --name="planewavessdl2" --version=0.5 --bootstrap=sdl2
85
56
86
- For full instructions and parameter options, see ` the
87
- documentation < https://python-for-android.readthedocs.io/en/latest/quickstart/#usage> `__ .
57
+ For full instructions and parameter options, see [ the
58
+ documentation] ( https://python-for-android.readthedocs.io/en/latest/quickstart/#usage ) .
88
59
89
- Support
90
- =======
60
+ ## Support
91
61
92
62
If you need assistance, you can ask for help on our mailing list:
93
63
94
64
- User Group: https://groups.google.com/group/kivy-users
95
65
- Email: kivy-users@googlegroups.com
96
66
97
- We also have ` #support Discord channel < https://chat.kivy.org/ >`_ .
67
+ We also have [ #support Discord channel] ( https://chat.kivy.org/ ) .
98
68
99
- Contributing
100
- ============
69
+ ## Contributing
101
70
102
71
We love pull requests and discussing novel ideas. Check out our
103
- ` contribution guide < http://kivy.org/docs/contribute.html >`__ and feel
72
+ [ contribution guide] ( http://kivy.org/docs/contribute.html ) and feel
104
73
free to improve python-for-android.
105
74
106
75
The following mailing list and IRC channel are used exclusively for
@@ -109,10 +78,67 @@ discussions about developing the Kivy framework and its sister projects:
109
78
- Dev Group: https://groups.google.com/group/kivy-dev
110
79
- Email: kivy-dev@googlegroups.com
111
80
112
- We also have ` #dev Discord channel < https://chat.kivy.org/ >`_ .
81
+ We also have [ #dev Discord channel] ( https://chat.kivy.org/ ) .
113
82
114
- License
115
- =======
83
+ ## License
116
84
117
85
python-for-android is released under the terms of the MIT License.
118
86
Please refer to the LICENSE file.
87
+
88
+ ## History
89
+
90
+ In 2015 these tools were rewritten to provide a new, easier to use and
91
+ extend interface. If you are looking for the old toolchain with
92
+ distribute.sh and build.py, it is still available at
93
+ https://github.com/kivy/python-for-android/tree/old_toolchain , and
94
+ issues and PRs relating to this branch are still accepted. However, the
95
+ new toolchain contains all the same functionality via the built in
96
+ pygame bootstrap.
97
+
98
+ In the last quarter of 2018 the python recipes has been changed, the new recipe
99
+ for python3 (3.7.1) has a new build system which has been applied to the ancient
100
+ python recipe, allowing us to bump the python2 version number to 2.7.15. This
101
+ change, unifies the build process for both python recipes, and probably solve
102
+ some issues detected over the years, but unfortunately, this change breaks the
103
+ pygame bootstrap (in a near future we will fix it or remove it). Also should be
104
+ mentioned that the old python recipe is still usable, and has been renamed to
105
+ ` python2legacy ` . This ` python2legacy ` recipe allow us to build with a minimum
106
+ api lower than 21, which is not the case for the new python recipes which are
107
+ limited to a minimum api of 21. All this work has been done using android ndk
108
+ version r17c, and your build should success with that version...but be aware
109
+ that the project is in constant development so...the ndk version will change
110
+ at some time.
111
+
112
+ Those mentioned changes has been done this way to make easier the transition
113
+ between python3 and python2. We will slowly phase out python2 support
114
+ towards 2020...so...if you are using python2 in your projects you should
115
+ consider to migrate it into python3.
116
+
117
+ ## Contributors
118
+
119
+ This project exists thanks to all the people who contribute. [[ Contribute] ( CONTRIBUTING.md )] .
120
+ <a href =" https://github.com/kivy/python-for-android/graphs/contributors " ><img src =" https://opencollective.com/kivy/contributors.svg?width=890&button=false " /></a >
121
+
122
+
123
+ ## Backers
124
+
125
+ Thank you to all our backers! 🙏 [[ Become a backer] ( https://opencollective.com/kivy#backer )]
126
+
127
+ <a href =" https://opencollective.com/kivy#backers " target =" _blank " ><img src =" https://opencollective.com/kivy/backers.svg?width=890 " ></a >
128
+
129
+
130
+ ## Sponsors
131
+
132
+ Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[ Become a sponsor] ( https://opencollective.com/kivy#sponsor )]
133
+
134
+ <a href =" https://opencollective.com/kivy/sponsor/0/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/0/avatar.svg " ></a >
135
+ <a href =" https://opencollective.com/kivy/sponsor/1/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/1/avatar.svg " ></a >
136
+ <a href =" https://opencollective.com/kivy/sponsor/2/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/2/avatar.svg " ></a >
137
+ <a href =" https://opencollective.com/kivy/sponsor/3/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/3/avatar.svg " ></a >
138
+ <a href =" https://opencollective.com/kivy/sponsor/4/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/4/avatar.svg " ></a >
139
+ <a href =" https://opencollective.com/kivy/sponsor/5/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/5/avatar.svg " ></a >
140
+ <a href =" https://opencollective.com/kivy/sponsor/6/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/6/avatar.svg " ></a >
141
+ <a href =" https://opencollective.com/kivy/sponsor/7/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/7/avatar.svg " ></a >
142
+ <a href =" https://opencollective.com/kivy/sponsor/8/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/8/avatar.svg " ></a >
143
+ <a href =" https://opencollective.com/kivy/sponsor/9/website " target =" _blank " ><img src =" https://opencollective.com/kivy/sponsor/9/avatar.svg " ></a >
144
+
0 commit comments