Skip to content

Commit 9a037a8

Browse files
committed
remove "Python 2" related text blocks
1 parent 384ec2e commit 9a037a8

5 files changed

Lines changed: 6 additions & 35 deletions

developer-manual/en/chapter01-building-fifengine-on-linux.adoc

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ http://www.swig.org/
3939

4040
===== Python
4141

42-
To build the Python extension you need Python. Fife works with Python 2.7 and Python 3.4+
42+
To build the Python extension you need Python. Fife works with Python 3.4+
4343

4444
==== Dependencies
4545

@@ -62,13 +62,6 @@ NOTE: We are working on building the dependencies on the fly. For now we simply
6262

6363
On debian based systems you can grab all dependencies by installing the following packages:
6464

65-
Python 2:
66-
67-
[source,bash]
68-
----
69-
apt-get install -y build-essential libalsa-ocaml-dev libsdl2-dev libboost-dev libsdl2-ttf-dev libsdl2-image-dev libvorbis-dev libalut-dev python2.7 python-dev libboost-regex-dev libboost-filesystem-dev libboost-test-dev swig zlib1g-dev libopenal-dev git python-yaml libxcursor1 libxcursor-dev cmake cmake-data libtinyxml-dev libpng-dev libglew-dev
70-
----
71-
7265
Python 3:
7366

7467
[source,bash]
@@ -78,13 +71,6 @@ apt-get install -y build-essential libalsa-ocaml-dev libsdl2-dev libboost-dev li
7871

7972
====== Gentoo based systems
8073

81-
Python 2:
82-
83-
[source,bash]
84-
----
85-
emerge --ask --verbose --noreplace libvorbis libogg media-libs/openal boost libsdl2 sdl2-image sdl2-ttf git pyyaml dev-lang/swig dev-libs/tinyxml dev-util/cmake media-libs/glew dev-lang/python2.7
86-
----
87-
8874
Python 3:
8975

9076
[source,bash]
@@ -94,13 +80,6 @@ emerge --ask --verbose --noreplace libvorbis libogg media-libs/openal boost libs
9480

9581
====== Fedora based systems
9682

97-
Python 2:
98-
99-
[source,bash]
100-
----
101-
dnf install git python2 gcc gcc-c++ SDL2 SDL2-static SDL2-devel SDL2_ttf SDL2_ttf-devel SDL2_image SDL2_image-devel boost boost-devel libvorbis libvorbis-devel libogg libogg-devel openal-soft openal-soft-devel zlib zlib-devel mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel swig libXcursor libXcursor-devel alsa-lib alsa-lib-devel python-alsa PyYAML allegro5 cmake tinyxml-devel libpng libpng-devel fifechan fifechan-devel fifechan-opengl fifechan-opengl-devel fifechan-sdl fifechan-sdl-devel glew glew-devel
102-
----
103-
10483
Python 3:
10584

10685
[source,bash]
@@ -110,13 +89,6 @@ dnf install git python3 gcc gcc-c++ SDL2 SDL2-static SDL2-devel SDL2_ttf SDL2_tt
11089

11190
====== Arch Linux based systems
11291

113-
Python 2:
114-
115-
[source,bash]
116-
----
117-
pacman -S sdl2 boost sdl2_ttf sdl2_image libvorbis libogg openal swig python2 zlib libgl libpng tinyxml python2-pillow cmake glew
118-
----
119-
12092
Python 3:
12193

12294
[source,bash]

developer-manual/en/chapter01-building-fifengine-on-mac.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ http://www.swig.org/
3131

3232
===== Python
3333

34-
To build the Python extension you need Python. Fife works with Python 2.7 and Python 3.4+
34+
To build the Python extension you need Python. Fife works with Python 3.4+
3535

3636
==== Dependencies
3737

developer-manual/en/chapter01-building-fifengine-on-windows.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ http://www.swig.org/
4747

4848
===== Python
4949

50-
To build the Python extension you need Python. Fife works with Python 2.7 and Python 3.4+
50+
To build the Python extension you need Python. Fife works with Python 3.4+
5151

5252
* http://python.org/[Python]
5353
** https://www.python.org/downloads/windows/[Python Downloads for Windows]
54-
** https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi[Download Python 2.7.12 (msi)]
5554
** https://www.python.org/ftp/python/3.5.2/python-3.5.2.exe[Download Python 3.5.2 (exe)]
5655

5756
==== Dependencies
@@ -103,7 +102,7 @@ dir ..\fifengine-dependencies\includes /s
103102

104103
==== Building Fifengine
105104

106-
If you have Python 2 and Python 3 installed you can choose the Version with the comamnd:
105+
If you have Python 3 installed you can choose the Version with the command:
107106

108107
[source,bash]
109108
----

developer-manual/en/chapter01-cmake-configuration-options.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ or by using the CMake-Gui and selecting the folders.
6666

6767
`-DPYTHON_INCLUDE_DIR="C:\fifesdk\python\include"`:: helper to find Python
6868

69-
`-DPYTHON_LIBRARY="C:\fifesdk\python\libs\python27.lib"`:: helper to find Python
69+
`-DPYTHON_LIBRARY="C:\fifesdk\python\libs\python3.lib"`:: helper to find Python
7070

7171
`-DSWIG_DIR=C:\fifesdk\swig`:: helper to find Swig folder
7272

developer-manual/en/list-of-dependencies.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The following dependencies are needed to build FIFE from source:
2525

2626
* Python scripting-related libraries
2727
** http://www.swig.org/[swig] >= 1.3.40
28-
** http://www.python.org/[python] >= 2.7
28+
** http://www.python.org/[python] >= 3
2929

3030
* Compression libraries
3131
** http://www.zlib.net/[zlib] >= 1.2

0 commit comments

Comments
 (0)