summaryrefslogtreecommitdiff
path: root/Makefile
blob: 69ba627c3a64e02ea7e3db08f8d06c9e593b54f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Note: This is meant for Scilab2Py developer use only
.PHONY: all clean test release

export KILL_SCILAB="from scilab2py import kill_scilab; kill_scilab()"

all:
	make clean
	python setup.py install

clean:
	rm -rf build
	rm -rf dist
	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
	cd ~; ipython qtconsole --kernel=scilab
	make clean