File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
- import os
3
- import sys
4
-
5
2
from setuptools import find_packages , setup
6
3
7
4
from openwisp_controller import get_version
@@ -26,19 +23,6 @@ def get_install_requires():
26
23
return requirements
27
24
28
25
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
-
42
26
setup (
43
27
name = "openwisp-controller" ,
44
28
version = get_version (),
You can’t perform that action at this time.
0 commit comments