Skip to content

Commit 5a8384e

Browse files
bhrutledgejaraco
authored andcommitted
Use shutil for rmtree
1 parent 85d08db commit 5a8384e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ skip_install = True
2626
deps =
2727
build
2828
twine>=3
29-
path
3029
jaraco.develop>=7.1
3130
passenv =
3231
TWINE_PASSWORD
3332
GITHUB_TOKEN
3433
setenv =
3534
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
3635
commands =
37-
python -c "import path; path.Path('dist').rmtree_p()"
36+
python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
3837
python -m build
3938
python -m twine upload dist/*
4039
python -m jaraco.develop.create-github-release

0 commit comments

Comments
 (0)