Update setup.py

This commit is contained in:
Andrei 2023-03-17 02:28:35 +03:00
parent 521872cf06
commit 09d1e5cbf6
1 changed files with 8 additions and 2 deletions

View File

@ -59,10 +59,14 @@ class UploadCommand(Command):
os.system("twine upload dist/* --verbose")
logging.info("🤖 Uploaded . . .")
logging.info("Clean dist . . .")
shutil.rmtree("dist/")
logging.info("Clean builds . . .")
shutil.rmtree("./dist/")
logging.info("Clean build . . .")
shutil.rmtree("build/")
logging.info("Clean python3_anticaptcha.egg-info . . .")
shutil.rmtree("python3_anticaptcha.egg-info/")
sys.exit()
@ -81,6 +85,8 @@ setup(
project_urls={
"Documentation": URL,
"Source": "https://github.com/AndreiDrang/python3-anticaptcha",
"Changelog": "https://github.com/AndreiDrang/python3-anticaptcha/releases",
"Issue tracker": "https://github.com/AndreiDrang/python3-anticaptcha/issues",
},
author_email=EMAIL,
license="MIT",