Only import gen_versioninfo on Windows

This commit is contained in:
Florian Bruhin 2018-07-03 11:38:48 +02:00
parent b8fb5d4590
commit 38791a2386

View File

@ -45,7 +45,6 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir,
import qutebrowser
from scripts import utils
# from scripts.dev import update_3rdparty
from scripts.dev import gen_versioninfo
def call_script(name, *args, python=sys.executable):
@ -245,6 +244,7 @@ def build_windows():
artifacts = []
from scripts.dev import gen_versioninfo
utils.print_title("Updating VersionInfo file")
gen_versioninfo.main()