annotate makefile @ 863:58a634ab0f4c

bin/python symlink Ignore-this: bc638579e4d0a6f5bc6e83586f2cfe82
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 06 Jun 2013 04:28:54 +0000
parents ee07ea5cd46b
children 43ddee394d28
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
827
9816e249ce2e add nose build instructions
Drew Perttula <drewp@bigasterisk.com>
parents: 825
diff changeset
1 NOSEARGS="--no-path-adjustment light9.rdfdb.rdflibpatch light9.rdfdb.patch"
9816e249ce2e add nose build instructions
Drew Perttula <drewp@bigasterisk.com>
parents: 825
diff changeset
2
820
f7ae0faa0a44 makefile and nosetests path fix. new contextsForStatement
drewp@bigasterisk.com
parents:
diff changeset
3 tests:
827
9816e249ce2e add nose build instructions
Drew Perttula <drewp@bigasterisk.com>
parents: 825
diff changeset
4 eval env/bin/nosetests -x $(NOSEARGS)
9816e249ce2e add nose build instructions
Drew Perttula <drewp@bigasterisk.com>
parents: 825
diff changeset
5
9816e249ce2e add nose build instructions
Drew Perttula <drewp@bigasterisk.com>
parents: 825
diff changeset
6 tests_watch:
9816e249ce2e add nose build instructions
Drew Perttula <drewp@bigasterisk.com>
parents: 825
diff changeset
7 eval env/bin/nosetests --with-watch $(NOSEARGS)
9816e249ce2e add nose build instructions
Drew Perttula <drewp@bigasterisk.com>
parents: 825
diff changeset
8
825
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
9
860
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
10 # needed packages: python-gtk2 python-imaging
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
11
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
12 install_python_deps: link_to_sys_packages
825
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
13 env/bin/pip install -r pydeps
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
14
860
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
15 DP=/usr/lib/python2.7/dist-packages
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
16 SP=env/lib/python2.7/site-packages
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
17
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
18 link_to_sys_packages:
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
19 # http://stackoverflow.com/questions/249283/virtualenv-on-ubuntu-with-no-site-packages
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
20 ln -sf $(DP)/glib $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
21 ln -sf $(DP)/gobject $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
22 ln -sf $(DP)/cairo $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
23 ln -sf $(DP)/gtk-2.0 $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
24 ln -sf $(DP)/pygtk.py $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
25 ln -sf $(DP)/pygtk.pth $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
26 ln -sf $(DP)/pygst.pth $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
27 ln -sf $(DP)/pygst.py $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
28 ln -sf $(DP)/gst-0.10 $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
29 ln -sf $(DP)/PIL $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
30 ln -sf $(DP)/PIL.pth $(SP)/
8189f27679a1 gtk+PIL visible in virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 827
diff changeset
31
825
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
32 PYTHON=/usr/bin/pypy
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
33 PYTHON=/usr/bin/python
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
34
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
35 create_virtualenv:
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
36 mkdir -p env
a8942364e4ee switch from buildout to virtualenv
Drew Perttula <drewp@bigasterisk.com>
parents: 820
diff changeset
37 virtualenv -p $(PYTHON) env
863
58a634ab0f4c bin/python symlink
Drew Perttula <drewp@bigasterisk.com>
parents: 862
diff changeset
38 ln -sf ../env/bin/python bin/python
862
ee07ea5cd46b start makefile for tkdnd build
Drew Perttula <drewp@bigasterisk.com>
parents: 860
diff changeset
39
ee07ea5cd46b start makefile for tkdnd build
Drew Perttula <drewp@bigasterisk.com>
parents: 860
diff changeset
40 tkdnd_build:
ee07ea5cd46b start makefile for tkdnd build
Drew Perttula <drewp@bigasterisk.com>
parents: 860
diff changeset
41 cd tkdnd/trunk
ee07ea5cd46b start makefile for tkdnd build
Drew Perttula <drewp@bigasterisk.com>
parents: 860
diff changeset
42 ./configure
ee07ea5cd46b start makefile for tkdnd build
Drew Perttula <drewp@bigasterisk.com>
parents: 860
diff changeset
43 make