From 66dd933fad6dea4ee21f96415c83987231a8b954 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 22 Nov 2021 11:21:15 +0530 Subject: [PATCH] Use separate bypy build cache for the Qt 6 branch --- setup/port.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/port.py b/setup/port.py index 34c5518099..620525c624 100644 --- a/setup/port.py +++ b/setup/port.py @@ -3,6 +3,7 @@ # License: GPL v3 Copyright: 2019, Kovid Goyal +import os import subprocess import sys @@ -19,6 +20,9 @@ class To6(Command): def run(self, opts): self.ccall('git', 'switch', '-') + os.rename('bypy/b/other-b', 'bypy/c') + os.rename('bypy/b', 'bypy/c/other-b') + os.rename('bypy/c', 'bypy/b') self.ccall(sys.executable, 'setup.py', 'build', '--clean') self.ccall(sys.executable, 'setup.py', 'build') self.ccall(sys.executable, 'setup.py', 'gui', '--clean')