Skip to content

Commit

Permalink
Apple's outdated pip won't use wheel file and can't build it
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyzz committed Jan 8, 2022
1 parent f46f19c commit b4acab1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,7 @@ Please read [CONTRIBUTING](./docs/CONTRIBUTING.md).
- macOS

```
// install from Homebrew(recommended)
$ brew install python
// or install Apple Command Line Tools
$ xcode-select --install
```

- Windows: use Chocolatey or download from https://www.python.org/downloads
Expand Down
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
from calibre.customize import InterfaceActionBase

VERSION = (3, 16, 0)
VERSION = (3, 16, 1)


class WordDumbDumb(InterfaceActionBase):
Expand Down
2 changes: 0 additions & 2 deletions deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def which_python(self):
py = '/opt/homebrew/bin/python3'
else:
py = '/usr/local/bin/python3'
if not Path(py).exists():
py = '/usr/bin/python3' # command line tools
command = 'import platform;' \
'print(".".join(platform.python_version_tuple()[:2]))'
r = subprocess.run([py, '-c', command], check=True,
Expand Down

0 comments on commit b4acab1

Please sign in to comment.