diff options
author | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-04-04 11:04:27 +0200 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2017-04-04 11:04:27 +0200 |
commit | 7fbbbdadb7720675b04595378a167df2d164cd49 (patch) | |
tree | 74cf3131d5f3408a2f80ca30a91592d1599bf1d8 /cli.py | |
parent | e8ab41af5a02a1e9e9095b2b64da1322c60250f2 (diff) |
QFace guide uses now central version information from __about__.py
Diffstat (limited to 'cli.py')
-rwxr-xr-x | cli.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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() |