blob: 8a85f6d21dab2ac19fc55adb080e5c59e7fb5920 (
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
|
# 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: 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: clean
pip install wheel
python setup.py register
python setup.py bdist_wheel upload
python setup.py sdist --formats=gztar,zip upload
git tag v`python -c "import scilab_kernel;print(scilab_kernel.__version__)"`
git push origin --all
test: clean
python setup.py install
cd ~; ipython qtconsole --kernel=scilab
make clean
|