diff --git a/setup.py b/setup.py index 666810c4..50a5ce2c 100755 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ "x64": "64"} def download_check_fail(url, expected_type): + print("download URL:", url) response = requests.get(url, allow_redirects=True, timeout=60) if not response.ok: raise RuntimeError("error retrieving "+response.url) @@ -73,6 +74,8 @@ def qtc_download_check_extract(cfg, dir_install): os = os_map[cfg['os']], arch = arch_map[cfg['arch']]) + print("base url", base_url) + archive_names = [qtc_module+".7z" for qtc_module in cfg['versions']['qtc_modules']] dir_install_qt = os.path.join(dir_install, "Tools", "QtCreator") @@ -183,11 +186,14 @@ def qt_download_check_extract(cfg, dir_install): if __name__ == "__main__": + print("HELLO!") parser = argparse.ArgumentParser() parser.add_argument('--install_path', type=str, default=None) parser.add_argument('--export_variables', action="store_true") args = parser.parse_args() + print("args", args) + cfg = {} cfg['os'] = platform.system() @@ -200,12 +206,15 @@ def qt_download_check_extract(cfg, dir_install): if not dir_install: dir_install = os.path.join(tempfile.gettempdir(), "qtc_sdk") + print("makedirs") os.makedirs(dir_install, exist_ok=True) + print("qtc_download_check_extract") prefix_paths = [] dir_qtc = qtc_download_check_extract(cfg, dir_install) prefix_paths.append(dir_qtc) + print("qt_download_check_extract") dir_qt = qt_download_check_extract(cfg, dir_install) prefix_paths.append(dir_qt)