Skip to content

Commit

Permalink
Music21 v6.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Myke Cuthbert committed Jan 1, 2021
1 parent 962b480 commit 5fdc7c6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dist/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
import hashlib
import os
import sys
import shutil
import tarfile

from music21 import base
Expand Down Expand Up @@ -285,7 +286,12 @@ def build(self):
self.updatePaths()

environLocal.warn(f'removing {self.fpBuildDir} (except on windows...there do it yourself)')
shutil.rmtree(self.fpBuildDir)
try:
shutil.rmtree(self.fpBuildDir)
except FileNotFoundError:
environLocal.warn(
f'Directory was already cleaned up'
)

if self.buildNoCorpus is True:
# create no corpus versions
Expand Down

0 comments on commit 5fdc7c6

Please sign in to comment.