mirror of
https://github.com/vale981/rmview
synced 2025-03-05 17:21:39 -05:00
Fix codegen
This commit is contained in:
parent
94de29192a
commit
b93dc4ca90
2 changed files with 3 additions and 1 deletions
2
pyproject.toml
Normal file
2
pyproject.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["setuptools", "PyQt5"]
|
2
setup.py
2
setup.py
|
@ -10,7 +10,7 @@ def genResources():
|
||||||
from PyQt5.pyrcc_main import main as pyrcc_main
|
from PyQt5.pyrcc_main import main as pyrcc_main
|
||||||
saved_argv = sys.argv
|
saved_argv = sys.argv
|
||||||
# Use current environment to find pyrcc but use the public interface
|
# Use current environment to find pyrcc but use the public interface
|
||||||
sys.argv = ['pyrcc5', '-o', 'src/resources.py', 'resources.qrc']
|
sys.argv = ['pyrcc5', '-o', 'src/rmview/resources.py', 'resources.qrc']
|
||||||
pyrcc_main()
|
pyrcc_main()
|
||||||
sys.argv = saved_argv
|
sys.argv = saved_argv
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue