Skip to content

Commit

Permalink
5.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Mar 19, 2023
1 parent d0999dd commit 1966613
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/python_rucaptcha/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.1.4"
__version__ = "5.1.5"
13 changes: 5 additions & 8 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,33 +50,30 @@ def finalize_options(self):
pass

def run(self):
logging.info("Clean builds . . .")
shutil.rmtree("dist/", ignore_errors=True)

logging.info("Building Source and Wheel distribution . . .")
os.system("python setup.py bdist_wheel")
os.system("python setup.py sdist bdist_wheel")

logging.info("Uploading the package to PyPI via Twin . . .")
os.system("twine upload dist/* --verbose")

logging.info("🤖 Uploaded . . .")

logging.info("Clean dist . . .")
shutil.rmtree("dist/")
shutil.rmtree("dist/", ignore_errors=True)

logging.info("Clean build . . .")
shutil.rmtree("build/")
shutil.rmtree("build/", ignore_errors=True)

logging.info("Clean python_rucaptcha.egg-info . . .")
shutil.rmtree("python_rucaptcha.egg-info/")
shutil.rmtree("python_rucaptcha.egg-info/", ignore_errors=True)
sys.exit()


setup(
name=NAME,
version=VERSION,
author=AUTHOR,
packages=["python_rucaptcha"],
packages=["python_rucaptcha", "python_rucaptcha.core"],
install_requires=REQUIRED,
description=DESCRIPTION,
long_description=long_description,
Expand Down

0 comments on commit 1966613

Please sign in to comment.