Skip to content

Commit

Permalink
[chores] Removed publish command from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Nov 22, 2024
1 parent cbcef3d commit 470560c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 470560c

Please sign in to comment.