From 606f5ebacee8494764ed11aecb006c57027af4e0 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 12 Sep 2016 13:00:37 +0200 Subject: setup.py: Let OPTION_REUSE_BUILD imply OPTION_IGNOREGIT Change-Id: Id24505e17c39a0e81fab283f04e53923d9f56d6a Reviewed-by: Alexandru Croitor --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0034e7170..ff7d5d734 100644 --- a/setup.py +++ b/setup.py @@ -272,7 +272,7 @@ if OPTION_NOEXAMPLES: # Initialize, pull and checkout submodules -if os.path.isdir(".git") and not OPTION_IGNOREGIT and not OPTION_ONLYPACKAGE: +if os.path.isdir(".git") and not OPTION_IGNOREGIT and not OPTION_ONLYPACKAGE and not OPTION_REUSE_BUILD: print("Initializing submodules for PySide2 version %s" % __version__) git_update_cmd = ["git", "submodule", "update", "--init"] if run_process(git_update_cmd) != 0: -- cgit v1.2.3