diff options
author | Brian Rutledge <brian@bhrutledge.com> | 2021-06-12 10:10:07 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-06-12 11:19:36 -0400 |
commit | 5a8384e53c59a886f982739c02572732afa76c7f (patch) | |
tree | 36f6cb2e7c82d8421ee32bbf52a26d32f53c9bb9 | |
parent | 85d08db3ef3811bd208995254e7e9c9658cf710d (diff) | |
download | pytest-runner-5a8384e53c59a886f982739c02572732afa76c7f.tar.gz |
Use shutil for rmtree
-rw-r--r-- | tox.ini | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26,7 +26,6 @@ skip_install = True deps = build twine>=3 - path jaraco.develop>=7.1 passenv = TWINE_PASSWORD @@ -34,7 +33,7 @@ passenv = 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 |