forked from Calysto/matlab_kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 671 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 671 Bytes
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
28
# Note: This is meant for octave_kernel developer use only
.PHONY: all clean test release
export NAME=`python setup.py --name 2>/dev/null`
export VERSION=`python setup.py --version 2>/dev/null`
all: clean
pip install .
clean:
rm -rf build
rm -rf dist
test: clean
pip install .
python -c "from jupyter_client.kernelspec import find_kernel_specs; assert 'matlab' in find_kernel_specs()"
release: test clean
pip install wheel
git commit -a -m "Release $(VERSION)"; true
git tag v$(VERSION)
rm -rf dist
python setup.py register
python setup.py bdist_wheel --universal
python setup.py sdist
git push origin --all
git push origin --tags
twine upload dist/*