aboutsummaryrefslogtreecommitdiffstats
path: root/cli.py
diff options
context:
space:
mode:
authorJuergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com>2017-04-04 11:04:27 +0200
committerJuergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com>2017-04-04 11:04:27 +0200
commit7fbbbdadb7720675b04595378a167df2d164cd49 (patch)
tree74cf3131d5f3408a2f80ca30a91592d1599bf1d8 /cli.py
parente8ab41af5a02a1e9e9095b2b64da1322c60250f2 (diff)
QFace guide uses now central version information from __about__.py
Diffstat (limited to 'cli.py')
-rwxr-xr-xcli.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli.py b/cli.py
index c04cbac..09863a2 100755
--- a/cli.py
+++ b/cli.py
@@ -167,12 +167,13 @@ def uninstall():
@cli.command()
def upload():
+ Path('build').rmtree_p()
dist = Path('dist')
- if dist.exists():
- dist.rmdir_p()
+ dist.rmtree_p()
dist.makedirs_p()
sh('python3 setup.py bdist_wheel')
sh('twine upload dist/*')
+ Path('build').rmtree_p()
@cli.command()