Rebuild qt_hack on qt5 branch checkout

This commit is contained in:
Kovid Goyal 2014-04-25 00:31:07 +05:30
parent c99debb5b6
commit c80a065b74

View File

@ -47,7 +47,7 @@ elif flags in ('master', 'qt5'):
if is_qt5_transition: if is_qt5_transition:
# Rebuild PyQt extensions # Rebuild PyQt extensions
if not os.path.exists('.git/rebase-merge'): # Dont rebuild if we are rebasing if not os.path.exists('.git/rebase-merge'): # Dont rebuild if we are rebasing
for ext in ('progress_indicator', 'pictureflow'): for ext in ('progress_indicator', 'pictureflow', 'qt_hack'):
extdir = os.path.join('build', 'pyqt', ext) extdir = os.path.join('build', 'pyqt', ext)
if os.path.exists(extdir): if os.path.exists(extdir):
shutil.rmtree(extdir) shutil.rmtree(extdir)