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_monitoring import get_version
@@ -24,19 +21,6 @@ def get_install_requires():
24
21
return requirements
25
22
26
23
27
- if sys .argv [- 1 ] == 'publish' :
28
- # delete any *.pyc, *.pyo and __pycache__
29
- os .system ('find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf' )
30
- os .system ("python setup.py sdist bdist_wheel" )
31
- os .system ("twine upload -s dist/*" )
32
- os .system ("rm -rf dist build" )
33
- args = {'version' : get_version ()}
34
- print ("You probably want to also tag the version now:" )
35
- print (" git tag -a %(version)s -m 'version %(version)s'" % args )
36
- print (" git push --tags" )
37
- sys .exit ()
38
-
39
-
40
24
setup (
41
25
name = 'openwisp-monitoring' ,
42
26
version = get_version (),
You can’t perform that action at this time.
0 commit comments