Skip to content

Commit

Permalink
Update macOS installation instructions to block Python 3.12
Browse files Browse the repository at this point in the history
It’s not currently compatible with SE.
  • Loading branch information
robinwhittleton committed Oct 30, 2023
1 parent 480e470 commit f2380a7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Installing this toolset using `pipx` makes the `se` command line executable avai

# Installation

The toolset requires Python >= 3.7.
The toolset requires Python >= 3.7 and < 3.12.

To install the toolset locally for development and debugging, see [Installation for toolset developers](#installation-for-toolset-developers).

Expand Down Expand Up @@ -66,9 +66,7 @@ sudo ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se
sudo ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/fish/se $HOME/.config/fish/completions/se.fish
```

## macOS users (up to macOS 12)

These instructions were tested on macOS 10.15 to 12, on Intel macs.
## macOS users

1. Install the [Homebrew package manager](https://brew.sh). Or, if you already have it installed, make sure it’s up to date:

Expand All @@ -80,12 +78,12 @@ These instructions were tested on macOS 10.15 to 12, on Intel macs.

```shell
# Install some pre-flight dependencies.
brew install cairo calibre git openjdk pipx python
brew install cairo calibre git openjdk pipx python@3.11
pipx ensurepath
sudo ln -sfn $(brew --prefix)/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

# Install the toolset.
pipx install standardebooks
pipx install --python python3.11 standardebooks

# Optional: Bash users who have set up bash-completion via brew can install tab completion.
ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/bash/se $(brew --prefix)/etc/bash_completion.d/se
Expand Down

0 comments on commit f2380a7

Please sign in to comment.