From 19666135740f08223d05c61d49d3222ec576b45e Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 20 Mar 2023 01:36:47 +0300 Subject: [PATCH] 5.1.5 --- src/python_rucaptcha/__version__.py | 2 +- src/setup.py | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/python_rucaptcha/__version__.py b/src/python_rucaptcha/__version__.py index 1070cc03..18f06b02 100644 --- a/src/python_rucaptcha/__version__.py +++ b/src/python_rucaptcha/__version__.py @@ -1 +1 @@ -__version__ = "5.1.4" +__version__ = "5.1.5" diff --git a/src/setup.py b/src/setup.py index 03e8af81..e61a3c3f 100644 --- a/src/setup.py +++ b/src/setup.py @@ -50,11 +50,8 @@ 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") @@ -62,13 +59,13 @@ def run(self): 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() @@ -76,7 +73,7 @@ def run(self): name=NAME, version=VERSION, author=AUTHOR, - packages=["python_rucaptcha"], + packages=["python_rucaptcha", "python_rucaptcha.core"], install_requires=REQUIRED, description=DESCRIPTION, long_description=long_description,