Skip to content

Commit

Permalink
- fixed missed dependencies for importlib_resources
Browse files Browse the repository at this point in the history
- fixed conversion error, when no resources are used in template
  • Loading branch information
domarm-comat committed Jan 17, 2022
1 parent f4256da commit 41fdb6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyqt6rc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import re

__version__ = "0.3.2"
__version__ = "0.3.3"

resource_pattern = re.compile('":(\/.*?\.[\w:]+)"')
indent_pattern = re.compile('\s+')
6 changes: 3 additions & 3 deletions pyqt6rc/test/test_convert_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def test_sp_conversion_no_resources() -> None:

def test_get_ui_files():
ui_files = get_ui_files("pyqt6rc/test/myPackage/templates")
assert ui_files == ['pyqt6rc/test/myPackage/templates/template3.ui',
'pyqt6rc/test/myPackage/templates/template2.ui',
'pyqt6rc/test/myPackage/templates/template1.ui']
assert 'pyqt6rc/test/myPackage/templates/template3.ui' in ui_files
assert 'pyqt6rc/test/myPackage/templates/template2.ui' in ui_files
assert 'pyqt6rc/test/myPackage/templates/template1.ui' in ui_files


def test_save_py():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pyqt6rc",
version="0.3.2",
version="0.3.3",
license='MIT',
author="Martin Domaracký",
author_email="domarm@comat.sk",
Expand Down

0 comments on commit 41fdb6b

Please sign in to comment.