Cleanup setup.py and migrate to tremily.us.
[curses_check_for_keypress.git] / Makefile
1 .PHONY : all check dist clean
2
3 all : dummy_py
4
5 dummy_py : setup.py curses_check_for_keypress.py
6         python setup.py install --home=~
7         echo "dummy for Makefile dependencies" > $@
8
9 check : all
10         python curses_check_for_keypress.py
11
12 dist :
13         python setup.py sdist
14         scp dist/curses_check_for_keypress*tar.gz einstein:public_html/code/python/
15
16 clean :
17         python setup.py clean
18         rm -rf build dist curses_check_for_keypress.egg-info
19         rm -f dummy_py *.pyc