Files
@ 3b1a435a29b8
Branch filter:
Location: light9/makefile - annotation
3b1a435a29b8
1.1 KiB
text/x-makefile
start fixing curvecalc data model; not done yet
Ignore-this: 9960bef2556cd57da749e921bcf3248
Ignore-this: 9960bef2556cd57da749e921bcf3248
9816e249ce2e 9816e249ce2e f7ae0faa0a44 9816e249ce2e 9816e249ce2e 9816e249ce2e 9816e249ce2e 9816e249ce2e a8942364e4ee 8189f27679a1 8189f27679a1 8189f27679a1 a8942364e4ee a8942364e4ee 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 83dfc2e87e62 8189f27679a1 a8942364e4ee a8942364e4ee a8942364e4ee a8942364e4ee a8942364e4ee a8942364e4ee 58a634ab0f4c ee07ea5cd46b ee07ea5cd46b 43ddee394d28 43ddee394d28 ee07ea5cd46b ee07ea5cd46b ee07ea5cd46b | NOSEARGS="--no-path-adjustment light9.rdfdb.rdflibpatch light9.rdfdb.patch"
tests:
eval env/bin/nosetests -x $(NOSEARGS)
tests_watch:
eval env/bin/nosetests --with-watch $(NOSEARGS)
# needed packages: python-gtk2 python-imaging
install_python_deps: link_to_sys_packages
env/bin/pip install -r pydeps
DP=/usr/lib/python2.7/dist-packages
SP=env/lib/python2.7/site-packages
link_to_sys_packages:
# http://stackoverflow.com/questions/249283/virtualenv-on-ubuntu-with-no-site-packages
ln -sf $(DP)/glib $(SP)/
ln -sf $(DP)/gobject $(SP)/
ln -sf $(DP)/cairo $(SP)/
ln -sf $(DP)/gtk-2.0 $(SP)/
ln -sf $(DP)/pygtk.py $(SP)/
ln -sf $(DP)/pygtk.pth $(SP)/
ln -sf $(DP)/pygst.pth $(SP)/
ln -sf $(DP)/pygst.py $(SP)/
ln -sf $(DP)/gst-0.10 $(SP)/
ln -sf $(DP)/PIL $(SP)/
ln -sf $(DP)/PIL.pth $(SP)/
ln -sf $(DP)/goocanvasmodule.so $(SP)/
PYTHON=/usr/bin/pypy
PYTHON=/usr/bin/python
create_virtualenv:
mkdir -p env
virtualenv -p $(PYTHON) env
ln -sf ../env/bin/python bin/python
tkdnd_build:
# get tkdnd r95 with subversion
# then apply tkdnd-patch-on-r95 to that
cd tkdnd/trunk
./configure
make
|