mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-07 07:14:57 +01:00
fix macOS ci
This commit is contained in:
parent
cd07851e30
commit
9a308b148f
2 changed files with 22 additions and 2 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -25,10 +25,14 @@ jobs:
|
|||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install zbar lib for QReader
|
||||
if: runner.os != 'Windows'
|
||||
- name: Install zbar lib for QReader (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get install -y libzbar0
|
||||
- name: Install zbar lib for QReader (macOS)
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
brew install zbar
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
|
|
|||
16
README.md
16
README.md
|
|
@ -50,6 +50,22 @@ options:
|
|||
|
||||
pip install -r requirements.txt
|
||||
|
||||
### Linux and macOS
|
||||
|
||||
For reading QR codes the zbar lib must be installed
|
||||
|
||||
#### Windows
|
||||
|
||||
The zbar DLLs are included with the Windows Python wheels. On other operating systems, you will need to install the zbar shared library.
|
||||
|
||||
#### Mac OS X
|
||||
|
||||
brew install zbar
|
||||
|
||||
#### Linux
|
||||
|
||||
sudo apt-get install libzbar0
|
||||
|
||||
Known to work with
|
||||
|
||||
* Python 3.10.8, protobuf 4.21.9, qrcode 7.3.1, and pillow 9.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue