Skip to content

Commit 12469ce

Browse files
authored
Use shutil for rmtree (#763)
1 parent e0a3a57 commit 12469ce

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
@@ -92,14 +92,13 @@ commands =
9292
basepython = python3
9393
deps =
9494
build
95-
path.py
9695
passenv =
9796
TWINE_PASSWORD
9897
TWINE_REPOSITORY
9998
setenv =
10099
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
101100
commands =
102-
python -c "import path; path.Path('dist').rmtree_p()"
101+
python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
103102
python -m build
104103
python -m twine upload dist/*
105104

0 commit comments

Comments
 (0)