Skip to content

Commit

Permalink
Improve support for building on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Nov 13, 2024
1 parent 7075bd5 commit f9257a4
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pluginadmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def compile_resources(
target_path = output_dir / "resources.py"
target_path.parent.mkdir(parents=True, exist_ok=True)
_log(f"compile_resources target_path: {target_path}", context=context)
subprocess.run(shlex.split(f"pyrcc5 -o {target_path} {resources_path}"))
subprocess.run(shlex.split(f"pyrcc5 -o {target_path.as_posix()} {resources_path.as_posix()}"))


@app.command()
Expand Down
63 changes: 62 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pytest-custom-exit-code = "^0.3.0"
mypy = "^1.0.0"
qgis-stubs = "^0.2.0.post1"
PyQt5-stubs = "^5.15.6.0"
PyQt5-Qt5 = "5.15.2"
PyQt5 = "5.15.6"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit f9257a4

Please sign in to comment.