diff --git a/README.md b/README.md index 502f0af6..55dacf8e 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ macOS packaging for [ungoogled-chromium](//github.com/Eloston/ungoogled-chromium * Xcode 12 * Homebrew * Perl (for creating a `.dmg` package) -* Python 2, specifically 2.7.13 or newer, as `python` in PATH -* Python 3.5 or newer as `python3` in PATH * Node.js ### Setting up the build environment @@ -26,18 +24,9 @@ macOS packaging for [ungoogled-chromium](//github.com/Eloston/ungoogled-chromium 2. Install GNU coreutils (for `greadlink` in packaging script): `brew install coreutils` 3. Install GNU readline: `brew install readline` 4. Install the data compression tools xz and zlib: `brew install xz zlib` -5. Install Python 3.x: `brew install python` -6. Install Python's pyenv to manage python version: `brew install pyenv` -7. Install Python 2.7.13: `pyenv install 2.7.13` -**Note**: in some cases you might get `Build failed: "ERROR: The Python zlib extension was not compiled. Missing the zlib?"` during Python 2.7.13 installation, this can be fixed by running `CPPFLAGS="-I$(brew --prefix zlib)/include" pyenv install 2.7.13`. -8. Unlink binutils to use the one provided with Xcode: `brew unlink binutils` -9. Setup `pyenv`: -```sh -echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile -``` -8. Set global `python` command to use Python 2.7.13: `pyenv global 2.7.13`. -9. Install Node.js: `brew install node` -10. Restart your Terminal +5. Unlink binutils to use the one provided with Xcode: `brew unlink binutils` +6. Install Node.js: `brew install node` +7. Restart your Terminal ### Build