Skip to content

Commit 79f3efc

Browse files
test
1 parent 99f15d0 commit 79f3efc

File tree

69 files changed

+234
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+234
-97
lines changed

.github/workflows/python-publish.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,38 +41,20 @@ jobs:
4141
with:
4242
name: wheel_${{ matrix.os }}
4343
path: ./wheelhouse/
44-
45-
4644
build_sdist:
4745
name: Build source distribution
48-
runs-on: ubuntu-20.04
46+
runs-on: ubuntu-latest
4947
steps:
50-
- uses: actions/checkout@v4
51-
52-
- name: Set up Python 3.11
53-
uses: actions/setup-python@v4
54-
with:
55-
python-version: "3.11"
56-
cache: 'pip'
57-
58-
- name: Install build tools
59-
run: |
60-
python -m pip install --upgrade "pip>=21.3"
61-
python -m pip install "setuptools<=64.0.0" "wheel<=0.38.0" build
48+
- uses: actions/checkout@v2
6249

63-
- name: Clean previous builds
64-
run: |
65-
rm -rf dist/ build/ *.egg-info/
50+
- name: Build sdist
51+
run: pipx run build --sdist
6652

67-
- name: Build sdist package
68-
run: |
69-
python -m build --sdist --no-isolation
7053

71-
7254
- name: Publish package
7355
uses: actions/upload-artifact@v4
7456
with:
75-
name: package
76-
path: dist/
57+
name: package
58+
path: dist/
7759

7860

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ which is newly established to aggregate the features of functional products powe
3838
Version
3939
-------
4040

41-
- 11.0.2000
41+
- 11.0.3000
4242

4343
Supported Platforms
4444
-------------------

dynamsoft_barcode_reader_bundle/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
from .license import *
66
from .utility import *
77

8-
__version__ = "11.0.2000"
8+
__version__ = "11.0.3000"

dynamsoft_barcode_reader_bundle/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.0.20.9290"
1+
__version__ = "4.0.20.0465"
22

33
import sys
44

dynamsoft_barcode_reader_bundle/cvr.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0.20.9290"
1+
__version__ = "3.0.20.0465"
22

33
if __package__ or "." in __name__:
44
from .core import *
@@ -745,9 +745,15 @@ def __init__(self):
745745
__destroy__ = _DynamsoftCaptureVisionRouter.delete_CIntermediateResultManager
746746

747747
def add_result_receiver(self, receiver: IntermediateResultReceiver) -> int:
748+
if not hasattr(self, '_receivers') or self._receivers is None:
749+
self._receivers = []
750+
self._receivers.append(receiver)
748751
return _DynamsoftCaptureVisionRouter.CIntermediateResultManager_AddResultReceiver(self, receiver)
749752

750753
def remove_result_receiver(self, receiver: IntermediateResultReceiver) -> int:
754+
if not hasattr(self, '_receivers') or self._receivers is None:
755+
self._receivers = []
756+
self._receivers.remove(receiver)
751757
return _DynamsoftCaptureVisionRouter.CIntermediateResultManager_RemoveResultReceiver(self, receiver)
752758

753759
def get_original_image(self, image_hash_id: str)->ImageData:

dynamsoft_barcode_reader_bundle/dbr.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "11.0.20.9290"
1+
__version__ = "11.0.20.0465"
22

33
if __package__ or "." in __name__:
44
from .core import *
@@ -508,7 +508,7 @@ class PDF417Details(BarcodeDetails):
508508
error_correction_level (int): The error correction level of PDF417 code.
509509
has_left_row_indicator (int): Specifies whether the left row indicator of the PDF417 code exists.
510510
has_right_row_indicator (int): Specifies whether the right row indicator of the PDF417 code exists.
511-
511+
codewords (List[int]): The codewords of the PDF417 Code.
512512
Methods:
513513
__init__(self, rows: int = -1, columns: int = -1, level: int = -1, has_left_row_indicator: int = -1, has_right_row_indicator: int = -1): Initializes a new instance of the PDF417Details class.
514514
"""
@@ -558,6 +558,11 @@ def __init__(
558558
_DynamsoftBarcodeReader.CPDF417Details_hasRightRowIndicator_set,
559559
doc="Specifies whether the right row indicator of the PDF417 code exists.",
560560
)
561+
codewords: List[int] = property(
562+
_DynamsoftBarcodeReader.CPDF417Details_codewords_get,
563+
_DynamsoftBarcodeReader.CPDF417Details_codewords_set,
564+
)
565+
561566
__destroy__ = _DynamsoftBarcodeReader.delete_CPDF417Details
562567

563568

dynamsoft_barcode_reader_bundle/dip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0.20.9290"
1+
__version__ = "3.0.20.0465"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftImageProcessing

dynamsoft_barcode_reader_bundle/dnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.20.9290"
1+
__version__ = "2.0.20.0465"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftNeuralNetwork

dynamsoft_barcode_reader_bundle/license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.0.20.9290"
1+
__version__ = "4.0.20.0465"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftLicense

dynamsoft_barcode_reader_bundle/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.20.9290"
1+
__version__ = "2.0.20.0465"
22

33
if __package__ or "." in __name__:
44
from .cvr import *

0 commit comments

Comments
 (0)