Browse Source

docs/building.md: Add note about Python 3 for macOS

Eloston 5 years ago
parent
commit
82b1194615
1 changed files with 5 additions and 2 deletions
  1. 5 2
      docs/building.md

+ 5 - 2
docs/building.md

@@ -164,13 +164,16 @@ A zip archive will be created in `build\src`
 * Xcode 8-9
 * Homebrew
 * Perl (for creating a `.dmg` package)
-* Python 2, specifically 2.7.13 or newer
+* Python 2, specifically 2.7.13 or newer, as `python` in PATH
+* Python 3.5 or newer as `python3` in PATH
 
 ### Setting up the build environment
 
 1. Install Ninja via Homebrew: `brew install ninja`
 2. Install GNU coreutils (for `greadlink` in packaging script): `brew install coreutils`
 
+TODO: Document installing Perl, Python 2, and Python 3 (via Homebrew?)
+
 ### Building
 
 First, ensure the Xcode application is open. Then, run the following:
@@ -178,7 +181,7 @@ First, ensure the Xcode application is open. Then, run the following:
 ```sh
 # Run from inside the clone of the repository
 mkdir -p build/src/ungoogled_packaging
-./get_package.py macos build/src/ungoogled_packaging
+python3 get_package.py macos build/src/ungoogled_packaging
 cd build/src
 ./ungoogled_packaging/build.sh
 ```