Skip to content

Commit c419c6c

Browse files
committed
Removed pygame references from doc
1 parent a0d0a1e commit c419c6c

File tree

6 files changed

+11
-32
lines changed

6 files changed

+11
-32
lines changed

doc/source/buildoptions.rst

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -188,24 +188,10 @@ ready.
188188
access. Defaults to 5000.
189189

190190

191-
pygame
192-
~~~~~~
193-
194-
You can use this with ``--bootstrap=pygame``, or simply include the
195-
``pygame`` recipe in your ``--requirements``.
196-
197-
The pygame bootstrap is the original backend used by Kivy, and still
198-
works fine for use with Kivy apps. It may also work for pure pygame
199-
apps, but hasn't been developed with this in mind.
200-
201-
This bootstrap will eventually be deprecated in favour of sdl2, but
202-
not before the sdl2 bootstrap includes all the features that would be
203-
lost.
204-
205191
Build options
206192
%%%%%%%%%%%%%
207193

208-
The pygame bootstrap supports the following additional command line
194+
The sdl2 bootstrap supports the following additional command line
209195
options (this list may not be exhaustive):
210196

211197
- ``--private``: The directory containing your project files.

doc/source/commands.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ supply those that you need.
7878
The Java bootstrap to use for your application. You mostly don't
7979
need to worry about this or set it manually, as an appropriate
8080
bootstrap will be chosen from your ``--requirements``. Current
81-
choices are ``sdl2`` or ``pygame``; ``sdl2`` is experimental but
82-
preferable where possible.
81+
choices are ``sdl2`` (used with Kivy and most other apps) or ``webview``.
8382

8483

8584
.. note:: These options are preliminary. Others will include toggles

doc/source/launcher.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ grab an old (cached) package instead of a fresh one.
3636
--name="App name" \
3737
--version=x.y.z \
3838
--android_api XY \
39-
--bootstrap=pygame or sdl2 \
39+
--bootstrap=sdl2 \
4040
--launcher \
4141
--minsdk 13
4242

@@ -91,12 +91,8 @@ it changes quickly and needs testing.
9191
Source code
9292
-----------
9393

94-
.. |renpy| replace:: pygame org.renpy.android
9594
.. |kivy| replace:: sdl2 org.kivy.android
9695

97-
.. _renpy:
98-
https://github.com/kivy/python-for-android/tree/master/\
99-
pythonforandroid/bootstraps/pygame/build/src/org/renpy/android
10096
.. _sdl2:
10197
https://github.com/kivy/python-for-android/tree/master/\
10298
pythonforandroid/bootstraps/sdl2/build/src/org/kivy/android

doc/source/quickstart.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Concepts
2727
different sets of requirements.
2828

2929
- bootstrap: A bootstrap is the app backend that will start your
30-
application. Your application could use SDL2 as a base, or Pygame,
30+
application. Your application could use SDL2 as a base,
3131
or a web backend like Flask with a WebView bootstrap. Different
3232
bootstraps can have different build options.
3333

@@ -160,8 +160,6 @@ well as the requirements::
160160

161161
This will first build a distribution that contains `python2` and `kivy`, and using a SDL2 bootstrap. Python2 is here explicitely written as kivy can work with python2 or python3.
162162

163-
You can also use ``--bootstrap=pygame``, but this bootstrap is deprecated for use with Kivy and SDL2 is preferred.
164-
165163
Build a WebView application
166164
~~~~~~~~~~~~~~~~~~~~~~~~~~~
167165

doc/source/recipes.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The basic declaration of a recipe is as follows::
4141
patches = ['some_fix.patch'] # Paths relative to the recipe dir
4242

4343
depends = ['kivy', 'sdl2'] # These are just examples
44-
conflicts = ['pygame']
44+
conflicts = ['python2']
4545
4646
recipe = YourRecipe()
4747

@@ -306,14 +306,14 @@ the cython components and to install the Python module just like a
306306
normal PythonRecipe.
307307

308308
For instance, the following is all that's necessary to make a recipe
309-
for Kivy (in this case, depending on Pygame rather than SDL2)::
309+
for Kivy::
310310

311311
class KivyRecipe(CythonRecipe):
312-
version = 'stable'
313-
url = 'https://github.com/kivy/kivy/archive/{version}.zip'
314-
name = 'kivy'
312+
version = 'stable'
313+
url = 'https://github.com/kivy/kivy/archive/{version}.zip'
314+
name = 'kivy'
315315

316-
depends = ['pygame', 'pyjnius', 'android']
316+
depends = ['sdl2', 'pyjnius']
317317

318318
recipe = KivyRecipe()
319319

pythonforandroid/recipes/kivy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class KivyRecipe(CythonRecipe):
1111
url = 'https://github.com/kivy/kivy/archive/{version}.zip'
1212
name = 'kivy'
1313

14-
depends = [('sdl2', 'pygame'), 'pyjnius']
14+
depends = ['sdl2', 'pyjnius']
1515

1616
def cythonize_build(self, env, build_dir='.'):
1717
super(KivyRecipe, self).cythonize_build(env, build_dir=build_dir)

0 commit comments

Comments
 (0)