Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9dfccd

Browse files
committed
buildbot: wipe build directory to ensure clean rebuilds
svn path=/trunk/matplotlib/; revision=7594
1 parent 894b969 commit c9dfccd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/_buildbot_install.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
if os.path.exists(TARGET):
1111
shutil.rmtree(TARGET)
1212

13+
if 1:
14+
build_path = 'build'
15+
if os.path.exists(build_path):
16+
shutil.rmtree(build_path)
17+
1318
check_call('virtualenv %s'%(TARGET,))
1419
TARGET_py = os.path.join(TARGET,'bin','python')
1520
check_call('%s setup.py install'%TARGET_py)

0 commit comments

Comments
 (0)