Fix pyc unreproducibility
Surprisingly, pyc does not have their modification time header respecting SDE but @marmarek found that was file time instead.
This commit is contained in:
parent
5a45d14af1
commit
340aa50063
3
Makefile
3
Makefile
@ -8,14 +8,17 @@ SETUPTOOLS_OPTS =
|
|||||||
SETUPTOOLS_OPTS += $(if $(wildcard /etc/debian_version),--install-layout=deb,)
|
SETUPTOOLS_OPTS += $(if $(wildcard /etc/debian_version),--install-layout=deb,)
|
||||||
|
|
||||||
export QT_HASH_SEED=0
|
export QT_HASH_SEED=0
|
||||||
|
export PYTHONHASHSEED=0
|
||||||
|
|
||||||
qubesmanager/ui_%.py: ui/%.ui
|
qubesmanager/ui_%.py: ui/%.ui
|
||||||
pyuic5 --from-imports -o $@ $<
|
pyuic5 --from-imports -o $@ $<
|
||||||
|
touch --reference=$< $@
|
||||||
|
|
||||||
ui: $(patsubst ui/%.ui,qubesmanager/ui_%.py,$(wildcard ui/*.ui))
|
ui: $(patsubst ui/%.ui,qubesmanager/ui_%.py,$(wildcard ui/*.ui))
|
||||||
|
|
||||||
res:
|
res:
|
||||||
pyrcc5 -o qubesmanager/resources_rc.py resources.qrc
|
pyrcc5 -o qubesmanager/resources_rc.py resources.qrc
|
||||||
|
touch --reference=resources.qrc qubesmanager/resources_rc.py
|
||||||
|
|
||||||
translations:
|
translations:
|
||||||
$(LRELEASE_QT5) qubesmanager.pro
|
$(LRELEASE_QT5) qubesmanager.pro
|
||||||
|
Loading…
Reference in New Issue
Block a user