Skip to content

Commit

Permalink
Use shutil for rmtree
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge authored and jaraco committed Jun 12, 2021
1 parent 85d08db commit 5a8384e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,14 @@ skip_install = True
deps =
build
twine>=3
path
jaraco.develop>=7.1
passenv =
TWINE_PASSWORD
GITHUB_TOKEN
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
commands =
python -c "import path; path.Path('dist').rmtree_p()"
python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
python -m build
python -m twine upload dist/*
python -m jaraco.develop.create-github-release

0 comments on commit 5a8384e

Please sign in to comment.