diff options
Diffstat (limited to 'cli.py')
-rwxr-xr-x | cli.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -166,7 +166,9 @@ def uninstall(): @cli.command() def upload(): dist = Path('dist') - dist.rmdir_p() + if dist.exists(): + dist.rmdir_p() + dist.makedirs_p() sh('python3 setup.py bdist_wheel') sh('twine upload dist/*') |