summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a58b1f6..69ba627 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
# Note: This is meant for Scilab2Py developer use only
-.PHONY: all clean test
+.PHONY: all clean test release
export KILL_SCILAB="from scilab2py import kill_scilab; kill_scilab()"
@@ -13,6 +13,13 @@ clean:
find . -name "*.pyc" -o -name "*.py,cover"| xargs rm -f
python -c $(KILL_SCILAB)
+release:
+ make clean
+ pip install wheel
+ python setup.py register
+ python setup.py bdist_wheel upload
+ python setup.py sdist --formats=gztar,zip upload
+
test:
make clean
python setup.py install