Skip to content

Commit

Permalink
more fixes in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gidden committed Oct 24, 2018
1 parent 5b297ee commit 8f3064c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ def run(self):
'build',
]
for d in dirs:
print('removing {}'.format(d))
shutil.rmtree(d)
if os.path.exists(d):
print('removing {}'.format(d))
shutil.rmtree(d)


def main():
Expand Down

0 comments on commit 8f3064c

Please sign in to comment.