check for missing build dir before attempting to remove it
This commit is contained in:
parent
2b90657d15
commit
7e117faa09
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -41,5 +41,5 @@ else:
|
||||||
version=ver,
|
version=ver,
|
||||||
packages=packages
|
packages=packages
|
||||||
)
|
)
|
||||||
if os.path.exists('setup.py'):
|
if os.path.exists("setup.py") and os.path.exists("build"):
|
||||||
shutil.rmtree("build")
|
shutil.rmtree("build")
|
||||||
|
|
Loading…
Add table
Reference in a new issue