mirror of
https://github.com/scito/extract_otp_secret_keys
synced 2024-11-18 09:28:19 +00:00
fix macOS ci
This commit is contained in:
parent
cd07851e30
commit
9a308b148f
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -25,10 +25,14 @@ jobs:
|
|||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install zbar lib for QReader
|
- name: Install zbar lib for QReader (Linux)
|
||||||
if: runner.os != 'Windows'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y libzbar0
|
sudo apt-get install -y libzbar0
|
||||||
|
- name: Install zbar lib for QReader (macOS)
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: |
|
||||||
|
brew install zbar
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
16
README.md
16
README.md
@ -50,6 +50,22 @@ options:
|
|||||||
|
|
||||||
pip install -r requirements.txt
|
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
|
Known to work with
|
||||||
|
|
||||||
* Python 3.10.8, protobuf 4.21.9, qrcode 7.3.1, and pillow 9.2
|
* Python 3.10.8, protobuf 4.21.9, qrcode 7.3.1, and pillow 9.2
|
||||||
|
Loading…
Reference in New Issue
Block a user