From 38791a2386e273193b33c2a6d1abf82709242382 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 3 Jul 2018 11:38:48 +0200 Subject: [PATCH] Only import gen_versioninfo on Windows --- scripts/dev/build_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 366c6f393..689bd49fc 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -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()