Skip to content

Commit

Permalink
Update prepare_enunu_release.py
Browse files Browse the repository at this point in the history
enulib内のキャッシュファイルを消しきれない不具合を修正
  • Loading branch information
oatsu-gh committed Aug 11, 2022
1 parent bfb3a0d commit 7e49be7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions synthesis/prepare_enunu_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,17 @@ def main():
print(f'Copying {python_dir} -> {join(enunu_release_dir, python_dir)}')
shutil.copytree(python_dir, join(enunu_release_dir, python_dir))

# キャッシュファイルを削除する
print('Removing cache')
remove_cache_files(enunu_release_dir, REMOVE_LIST)

# enunu.py と hts2wav.py と nnsvs_gen_override.py をコピーする
print('Copying python scripts')
shutil.copy2('enunu.py', join(enunu_release_dir))
shutil.copy2('install_torch.py', join(enunu_release_dir))
shutil.copytree('enulib', join(enunu_release_dir, 'enulib'))
shutil.copytree('extensions', join(enunu_release_dir, 'extensions'))

# キャッシュファイルを削除する
print('Removing cache')
remove_cache_files(enunu_release_dir, REMOVE_LIST)

# enunu.bat をリリースフォルダに作成
print('Creating enunu.bat')
create_enunu_bat(join(enunu_release_dir, 'enunu.bat'), python_exe)
Expand Down

0 comments on commit 7e49be7

Please sign in to comment.