From 4c3e0bfb6e9c45da6597b269b0f5672c86253c36 Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Fri, 22 Mar 2019 17:19:47 +0100 Subject: [PATCH] docs: update mingw build instructions (untested) --- docs/building.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/building.rst b/docs/building.rst index cacd175..8a776ee 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -87,7 +87,7 @@ This is the recommended way to build on Windows without MSVC. 2. Install the dependencies:: - pacman -S git mingw-w64-x86_64-python2-numpy mingw-w64-x86_64-python2-Pillow mingw-w64-x86_64-python2 mingw-w64-x86_64-toolchain + pacman -S git mingw-w64-x86_64-python3-numpy mingw-w64-x86_64-python3-Pillow mingw-w64-x86_64-python3 mingw-w64-x86_64-toolchain 3. Clone the Minecraft-Overviewer git repository:: @@ -102,7 +102,7 @@ This is the recommended way to build on Windows without MSVC. directory and executing the build script:: cd Minecraft-Overviewer - python2 setup.py build + python3 setup.py build After it finishes, you should now be able to execute ``overviewer.py`` from the MINGW64 shell. @@ -115,7 +115,7 @@ Building with mingw 3. Copy Imaging.h and ImPlatform.h from your Pillow sources into the current working directory. 4. Build:: - python setup.py build --compiler=mingw32 + python3 setup.py build --compiler=mingw32 If the build fails with complaints about ``-mno-cygwin``, open the file ``Lib/distutils/cygwincompiler.py`` in an editor of your choice, and remove all mentions of ``-mno-cygwin``. This is a bug in distutils,