From 88f00cf31436044d8565a2e2a15e334b8c3671c3 Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Sat, 23 Nov 2024 00:31:16 +0530 Subject: [PATCH] [chores] Removed "publish" from setup.py --- setup.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/setup.py b/setup.py index 74b609af0..9119a7c1a 100644 --- a/setup.py +++ b/setup.py @@ -26,19 +26,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-controller", version=get_version(),