File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- import os
3- import sys
4-
52from setuptools import find_packages , setup
63
74from openwisp_controller import get_version
@@ -26,19 +23,6 @@ def get_install_requires():
2623 return requirements
2724
2825
29- if sys .argv [- 1 ] == 'publish' :
30- # delete any *.pyc, *.pyo and __pycache__
31- os .system ('find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf' )
32- os .system ('python setup.py sdist bdist_wheel' )
33- os .system ('twine upload -s dist/*' )
34- os .system ('rm -rf dist build' )
35- args = {'version' : get_version ()}
36- print ('You probably want to also tag the version now:' )
37- print (' git tag -a %(version)s -m "version %(version)s"' % args )
38- print (' git push --tags' )
39- sys .exit ()
40-
41-
4226setup (
4327 name = "openwisp-controller" ,
4428 version = get_version (),
You can’t perform that action at this time.
0 commit comments