forked from blink1073/oct2py
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (30 loc) · 839 Bytes
/
Makefile
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
29
30
31
32
33
34
35
.PHONY: all clean test cover
all:
make clean
python setup.py install
clean:
rm -rf build
find . -name "*.pyc" -o -name "*.py,cover"| xargs rm -f
test:
make clean
python runtests.py
c:\Python33\python runtests.py
iptest IPython.extensions.tests.test_octavemagic
python setup.py check -r
cover:
make clean
coverage run --source oct2py -m py.test
coverage report
release:
make clean
pip install sphinx-pypi-upload
pip install numpydoc
python setup.py register
python setup.py bdist_wininst --target-version=2.7 upload
python setup.py bdist_wininst --target-version=3.2 upload
python setup.py bdist_wininst --target-version=3.3 upload
python setup.py sdist --formats=gztar,zip upload
python setup.py build_sphinx
python setup.py upload_sphinx
echo "Make sure to tag the branch"
echo "Make sure to push to hg"