From 470560c85599d3c66a3b62866964a1c5fde49c7a Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Sat, 23 Nov 2024 00:11:19 +0530 Subject: [PATCH] [chores] Removed publish command from setup.py --- setup.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/setup.py b/setup.py index 0a9273ee..797c29a3 100755 --- a/setup.py +++ b/setup.py @@ -24,19 +24,6 @@ def get_install_requires(): return requirements -if sys.argv[-1] == 'publish': - # delete any *.pyc, *.pyo and __pycache__ - os.system('find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf') - os.system("python setup.py sdist bdist_wheel") - os.system("twine upload -s dist/*") - os.system("rm -rf dist build") - args = {'version': get_version()} - print("You probably want to also tag the version now:") - print(" git tag -a %(version)s -m 'version %(version)s'" % args) - print(" git push --tags") - sys.exit() - - setup( name='openwisp-monitoring', version=get_version(),