Skip to content

Commit

Permalink
Use shutil for rmtree (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Jun 12, 2021
1 parent e0a3a57 commit 12469ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tox.ini
Expand Up @@ -92,14 +92,13 @@ commands =
basepython = python3
deps =
build
path.py
passenv =
TWINE_PASSWORD
TWINE_REPOSITORY
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/*

Expand Down

0 comments on commit 12469ce

Please sign in to comment.