Call update_3rdparty before freezing

This commit is contained in:
Daniel Schadt 2015-11-24 14:31:30 +01:00
parent 3a13e46c25
commit 384a9ad923
2 changed files with 5 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import cx_Freeze as cx # pylint: disable=import-error,useless-suppression
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir, sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir,
os.pardir)) os.pardir))
from scripts import setupcommon from scripts import setupcommon
from scripts.dev import update_3rdparty
BASEDIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), BASEDIR = os.path.join(os.path.dirname(os.path.realpath(__file__)),
@ -120,6 +121,8 @@ def main():
'bundle_name': 'qutebrowser', 'bundle_name': 'qutebrowser',
} }
update_3rdparty.main()
try: try:
setupcommon.write_git_file() setupcommon.write_git_file()
cx.setup( cx.setup(

View File

@ -35,7 +35,7 @@ import httpbin
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir, sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir,
os.pardir)) os.pardir))
from scripts import setupcommon from scripts import setupcommon
from scripts.dev import freeze from scripts.dev import freeze, update_3rdparty
@contextlib.contextmanager @contextlib.contextmanager
@ -72,6 +72,7 @@ def get_build_exe_options():
def main(): def main():
"""Main entry point.""" """Main entry point."""
base = 'Win32GUI' if sys.platform.startswith('win') else None base = 'Win32GUI' if sys.platform.startswith('win') else None
update_3rdparty.main()
with temp_git_commit_file(): with temp_git_commit_file():
cx.setup( cx.setup(
executables=[cx.Executable('scripts/dev/run_frozen_tests.py', executables=[cx.Executable('scripts/dev/run_frozen_tests.py',