Skip to content

Commit 3c8007a

Browse files
committed
Update CI and call it πŸ₯πŸ₯πŸ₯ … 1.0? πŸ₯³
1 parent cb46c29 commit 3c8007a

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

β€Ž.github/workflows/test_and_release.ymlβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.6', '3.7', '3.8', '3.9']
14+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.x']
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v3
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
@@ -40,12 +40,12 @@ jobs:
4040
needs: build
4141
strategy:
4242
matrix:
43-
python-version: ['3.6', '3.7', '3.8', '3.9']
43+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.x']
4444

4545
steps:
46-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v3
4747
- name: Set up Python
48-
uses: actions/setup-python@v2
48+
uses: actions/setup-python@v3
4949
with:
5050
python-version: ${{ matrix.python-version }}
5151
- name: Install dependencies
@@ -67,9 +67,9 @@ jobs:
6767
if: startsWith(github.ref, 'refs/tags/v')
6868

6969
steps:
70-
- uses: actions/checkout@v2
70+
- uses: actions/checkout@v3
7171
- name: Set up Python
72-
uses: actions/setup-python@v2
72+
uses: actions/setup-python@v3
7373
with:
7474
python-version: '3.x'
7575
- name: Install dependencies

β€ŽREADME.mdβ€Ž

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# python-zxing
22

33
[![PyPI](https://img.shields.io/pypi/v/zxing.svg)](https://pypi.python.org/pypi/zxing)
4-
[![Build Status](https://github.com/dlenski/python-zxing/workflows/test_and_release/badge.svg)](https://github.com/dlenski/python-zxing/actions?query=workflow%3Atest_and_release)
4+
[![Build Status](https://github.com/dlenski/python-zxing/workflows/test_and_release/badge.svg)](https://github.com/dlenski/python-zxing/actions/workflows/test_and_release.yml)
55
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
66

7-
This is a wrapper for the [ZXing barcode library](https://github.com/zxing/zxing). (It's a "slightly less quick-and-dirty" fork of [oostendo/python-zxing](https://github.com/oostendo/python-zxing).)
7+
This is a wrapper for the [ZXing barcode library](https://github.com/zxing/zxing).
88
It will allow you to read and decode barcode images from Python.
99

10+
It was originally a "slightly less quick-and-dirty" fork of [oostendo/python-zxing](https://github.com/oostendo/python-zxing), but has since
11+
evolved considerably beyond that ancestral package.
12+
1013
## Dependencies and installation
1114

1215
Use the Python 3 version of pip (usually invoked via `pip3`) to install: `pip3 install zxing`
@@ -41,7 +44,7 @@ If it encounters any other recognizable error from the Java ZXing library, it ra
4144
The command-line interface can decode images into barcodes and output in either a human-readable or CSV format:
4245

4346
```
44-
usage: zxing [-h] [-c] [--try-harder] image [image ...]
47+
usage: zxing [-h] [-c] [--try-harder] [-V] image [image ...]
4548
```
4649

4750
Human-readable:

β€Žsetup.pyβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def download_java_files(force=False):
6262
]
6363
},
6464
install_requires=open('requirements.txt').readlines(),
65+
python_requires=">=3",
6566
tests_require=open('requirements-test.txt').readlines(),
6667
test_suite='nose2.collector.collector',
6768
license='LGPL v3 or later',
@@ -78,5 +79,7 @@ def download_java_files(force=False):
7879
'Programming Language :: Python :: 3.7',
7980
'Programming Language :: Python :: 3.8',
8081
'Programming Language :: Python :: 3.9',
82+
'Programming Language :: Python :: 3.10',
83+
'Programming Language :: Python :: 3.11',
8184
],
8285
)

β€Žzxing/version.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.14"
1+
__version__ = "1.0"

0 commit comments

Comments
Β (0)