2015-01-28 20:33:54 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
|
|
|
|
|
2019-02-23 06:34:17 +01:00
|
|
|
# Copyright 2014-2019 Florian Bruhin (The-Compiler) <me@the-compiler.org>
|
2015-01-28 20:33:54 +01:00
|
|
|
|
|
|
|
# this file is part of qutebrowser.
|
|
|
|
#
|
|
|
|
# qutebrowser is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the gnu general public license as published by
|
|
|
|
# the free software foundation, either version 3 of the license, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# qutebrowser is distributed in the hope that it will be useful,
|
|
|
|
# but without any warranty; without even the implied warranty of
|
|
|
|
# merchantability or fitness for a particular purpose. see the
|
|
|
|
# gnu general public license for more details.
|
|
|
|
#
|
|
|
|
# you should have received a copy of the gnu general public license
|
|
|
|
# along with qutebrowser. if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
"""Generate Qt resources based on source files."""
|
|
|
|
|
|
|
|
import subprocess
|
|
|
|
|
|
|
|
with open('qutebrowser/resources.py', 'w', encoding='utf-8') as f:
|
2017-10-23 11:22:56 +02:00
|
|
|
subprocess.run(['pyrcc5', 'qutebrowser.rcc'], stdout=f, check=True)
|