Merge remote-tracking branch 'origin/pr/287'
* origin/pr/287: Fix pyc unreproducibility spec: improve reproducibility when generating QT files
This commit is contained in:
commit
d155787e7c
5
Makefile
5
Makefile
@ -7,13 +7,18 @@ LRELEASE_QT5 ?= $(if $(wildcard /etc/debian_version),lrelease,lrelease-qt5)
|
||||
SETUPTOOLS_OPTS =
|
||||
SETUPTOOLS_OPTS += $(if $(wildcard /etc/debian_version),--install-layout=deb,)
|
||||
|
||||
export QT_HASH_SEED=0
|
||||
export PYTHONHASHSEED=0
|
||||
|
||||
qubesmanager/ui_%.py: ui/%.ui
|
||||
pyuic5 --from-imports -o $@ $<
|
||||
touch --reference=$< $@
|
||||
|
||||
ui: $(patsubst ui/%.ui,qubesmanager/ui_%.py,$(wildcard ui/*.ui))
|
||||
|
||||
res:
|
||||
pyrcc5 -o qubesmanager/resources_rc.py resources.qrc
|
||||
touch --reference=resources.qrc qubesmanager/resources_rc.py
|
||||
|
||||
translations:
|
||||
$(LRELEASE_QT5) qubesmanager.pro
|
||||
|
Loading…
Reference in New Issue
Block a user