def run(self): from buildmsi import build_msi build_msi(bitness=32) if not os.path.exists('./dist'): os.mkdir('./dist') shutil.copy( './build/msi32/spreads_{0}.exe'.format(spreads.__version__), './dist')