From 61e69ce36a145090b2455826310cf4bd4d126480 Mon Sep 17 00:00:00 2001 From: Vivraan Date: Mon, 31 Aug 2020 12:54:09 +0530 Subject: [PATCH] Python 2 -> 3 --- appendix/00/README-de.md | 2 +- appendix/00/README-fr.md | 2 +- appendix/00/README-it.md | 2 +- appendix/00/README-ru.md | 2 +- appendix/00/README.md | 2 +- appendix/02/README-fr.md | 2 +- appendix/02/README-ru.md | 2 +- appendix/02/README.md | 6 +++--- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/appendix/00/README-de.md b/appendix/00/README-de.md index 2e75a14..8c0c201 100644 --- a/appendix/00/README-de.md +++ b/appendix/00/README-de.md @@ -2,7 +2,7 @@ Nehmen wir einmal an, Du gehst auf eine längere Reise und möchtest Dich unterwegs in die Shader-Programmierung einarbeiten. In diesem Fall könntest Du eine Kopie dieses Buches auf Deinen Rechner laden und diese über einen lokalen Server anzeigen lassen. -Alles, was Du dafür benötigst, ist Python 2.6 und ein Client-Programm für GIT. Auf Computern mit MacOS und auf dem RaspberryPi ist Python standardmäßig bereits vorinstalliert. Dort musst Du lediglich den GIT-Client zusätzlich installieren. +Alles, was Du dafür benötigst, ist Python 3 und ein Client-Programm für GIT. Auf Computern mit MacOS und auf dem RaspberryPi ist Python standardmäßig bereits vorinstalliert. Dort musst Du lediglich den GIT-Client zusätzlich installieren. Unter **MacOSX** benötigst Du dafür [homebrew](http://brew.sh/). Sobald das Paket installiert ist, kannst Du in einem Terminal-Fenster folgendes eingeben: diff --git a/appendix/00/README-fr.md b/appendix/00/README-fr.md index 1ba6a81..fd54cfd 100644 --- a/appendix/00/README-fr.md +++ b/appendix/00/README-fr.md @@ -2,7 +2,7 @@ Disons que vous vous préparez à partir pour un long voyage et que vous souhaitez le mettre à profit pour apprendre quelques shaders. Dans ce cas, pourquoi pas créer une copie locale de ce livre sur votre ordinateur et lancer un serveur local. -Pour cela, vous n'avez besoin que de PHP, Python 2.6 et d'un client git. Sur les ordinateurs MacOS et Raspberry Pi, Python est installé par défaut, mais vous il vous reste à installer PHP et un client git. Pour cela : +Pour cela, vous n'avez besoin que de PHP, Python 3 et d'un client git. Sur les ordinateurs MacOS et Raspberry Pi, Python est installé par défaut, mais vous il vous reste à installer PHP et un client git. Pour cela : Sous **MacOSX**, assurez-vous d'avoir [homebrew](http://brew.sh/) installé et ensuite dans votre terminal : diff --git a/appendix/00/README-it.md b/appendix/00/README-it.md index 3ecf1ec..fecf2de 100644 --- a/appendix/00/README-it.md +++ b/appendix/00/README-it.md @@ -2,7 +2,7 @@ Diciamo che si dispone di un lungo viaggio e si desidera usarlo per imparare da soli alcuni shaders. In questo caso è possibile effettuare una copia locale di questo libro sul computer ed eseguire un server locale. -Per questo è necessario solo Python 2.6 e un client git. Sui computer MacOS e Raspberry Pi, Python è installato di default, ma è comunque necessario installare un client git. Per fare ciò: +Per questo è necessario solo Python 3 e un client git. Sui computer MacOS e Raspberry Pi, Python è installato di default, ma è comunque necessario installare un client git. Per fare ciò: Su **MacOSX** siate sicuri di avere installato [homebrew](http://brew.sh/) e quindi sul terminale fate: diff --git a/appendix/00/README-ru.md b/appendix/00/README-ru.md index f337653..484b807 100644 --- a/appendix/00/README-ru.md +++ b/appendix/00/README-ru.md @@ -2,7 +2,7 @@ Предположим, вы отправились в длительное путешествие, и хотите немного подучить программирование шейдеров за это время. В этом случае вы можете скопировать книгу к себе на компьютер и запустить сервер локально. -Для этого понадобится только PHP, Python 2.6 и git-клиент. На MacOS и Raspberry Pi Python установлен по умолчанию, но PHP и Git придётся установить следующим образом: +Для этого понадобится только PHP, Python 3 и git-клиент. На MacOS и Raspberry Pi Python установлен по умолчанию, но PHP и Git придётся установить следующим образом: На **MacOSX** убедитесь, что у вас установлен [homebrew](http://brew.sh/) и выполните следующие команды в терминале: diff --git a/appendix/00/README.md b/appendix/00/README.md index 3fa9f3b..5010bca 100644 --- a/appendix/00/README.md +++ b/appendix/00/README.md @@ -2,7 +2,7 @@ Let’s say you have a long trip and you want to use it to teach yourself some shaders. In that case you can make a local copy of this book on your computer and run a local server. -For that you only need PHP, Python 2.6 and a git client. On MacOS and Raspberry Pi computers Python is installed by default but you still need to install PHP and a git client. For that: +For that you only need PHP, Python 3 and a git client. On MacOS and Raspberry Pi computers Python is installed by default but you still need to install PHP and a git client. For that: On **MacOSX** be sure to have [homebrew](http://brew.sh/) installed and then on your terminal do: diff --git a/appendix/02/README-fr.md b/appendix/02/README-fr.md index 30b0a3f..8dfc134 100644 --- a/appendix/02/README-fr.md +++ b/appendix/02/README-fr.md @@ -28,7 +28,7 @@ sudo apt-get upgrade sudo apt-get install git-core glslviewer ``` -#### Installation de Python 2.7, Latex et Pandoc +#### Installation de Python 3, Latex et Pandoc Pour analyser les chapitres Markdown dans Latex, puis dans un fichier PDF, nous utiliserons Xetex Latex Engine et Pandoc. diff --git a/appendix/02/README-ru.md b/appendix/02/README-ru.md index 73c1c0a..b3ac36b 100644 --- a/appendix/02/README-ru.md +++ b/appendix/02/README-ru.md @@ -29,7 +29,7 @@ sudo apt-get upgrade sudo apt-get install git-core glslviewer ``` -#### Установка Python 2.7, Latex Engine и Pandoc +#### Установка Python 3, Latex Engine и Pandoc Для разбора Markdown-разметки параграфов в Latex и затем в PDF, воспользуемся Xetex и Pandoc. diff --git a/appendix/02/README.md b/appendix/02/README.md index a1d5a27..7f35b2a 100644 --- a/appendix/02/README.md +++ b/appendix/02/README.md @@ -21,7 +21,7 @@ sudo apt-get upgrade sudo apt-get install git-core glslviewer ``` -#### Installing Python 2.7, Latex Engine and Pandoc +#### Installing Python 3, Latex Engine and Pandoc For parsing the Markdown chapters into Latex and then into a PDF file we will use Xetex Latex Engine and Pandoc. @@ -33,10 +33,10 @@ Download and Install MacTeX by: brew cask install mactex-no-gui ``` -and then install [Pandoc](http://johnmacfarlane.net/pandoc/) and Python 2 by: +and then install [Pandoc](http://johnmacfarlane.net/pandoc/) and Python 3 by: ```bash -brew install pandoc python@2 +brew install pandoc python ``` On **Raspberry Pi** (Raspbian):