Skip to content

Commit

Permalink
Merge pull request #15 from OZI-Project/patch/refactor-pyc_wheel
Browse files Browse the repository at this point in the history
Patch/refactor pyc wheel
  • Loading branch information
rjdbcm authored Dec 3, 2024
2 parents 5d1a034 + a346d98 commit 7cf0c33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('OZI.build', version : '1.7.0', license : 'apache-2.0')
project('OZI.build', version : '1.7.1', license : 'apache-2.0')
fs = import('fs')
python = import('python').find_installation()
subdir('ozi_build')
Expand Down
2 changes: 1 addition & 1 deletion ozi_build/_pyc_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def convert_wheel(
raise TypeError("File to convert must be a *.whl")

if exclude:
exclude = re.compile(re.escape(exclude))
exclude = re.compile(exclude)

dist_info = "-".join(whl_file.stem.split("-")[:-3])

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@ project-urls= [
pure-python-abi="py3-none"
summary="Create pep517 compliant packages from the meson build system, OZI-maintained fork."

[tool.ozi-build.pyc_wheel]
exclude = ".*.py"

[tool.deptry.per_rule_ignores]
DEP002 = ["meson"]

0 comments on commit 7cf0c33

Please sign in to comment.