mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use separate bypy build cache for the Qt 6 branch
This commit is contained in:
parent
e99ab7e002
commit
66dd933fad
@ -3,6 +3,7 @@
|
||||
# License: GPL v3 Copyright: 2019, Kovid Goyal <kovid at kovidgoyal.net>
|
||||
|
||||
|
||||
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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user