Files
@ fb830770c703
Branch filter:
Location: light9/makefile - annotation
fb830770c703
2.1 KiB
text/x-makefile
silly txosc can't setup without twisted
Ignore-this: 3d04ee055bd9d1f1c9f56534e4096217
Ignore-this: 3d04ee055bd9d1f1c9f56534e4096217
771f50f19b4b 9816e249ce2e f7ae0faa0a44 9816e249ce2e 9816e249ce2e 9816e249ce2e 771f50f19b4b 9816e249ce2e a8942364e4ee 8189f27679a1 8189f27679a1 15a13eba6fc3 15a13eba6fc3 15a13eba6fc3 8189f27679a1 fb830770c703 b7c752e49355 a8942364e4ee 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 cca75951554a 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 8189f27679a1 83dfc2e87e62 8189f27679a1 a8942364e4ee a8942364e4ee a8942364e4ee a8942364e4ee a8942364e4ee a8942364e4ee b7c752e49355 58a634ab0f4c ee07ea5cd46b ee07ea5cd46b 43ddee394d28 43ddee394d28 ee07ea5cd46b ee07ea5cd46b ee07ea5cd46b 9674c9f015bb 9674c9f015bb 9674c9f015bb 9674c9f015bb 53528b34097f 33a5a98e9bf1 33a5a98e9bf1 23377f8efd09 1f877950ad28 1f877950ad28 1f877950ad28 1f877950ad28 1f877950ad28 1f877950ad28 1f877950ad28 1f877950ad28 499ef7c133eb 499ef7c133eb 499ef7c133eb 499ef7c133eb beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 15a13eba6fc3 15a13eba6fc3 | NOSEARGS="--no-path-adjustment light9.rdfdb.rdflibpatch light9.rdfdb.patch light9.effecteval.test_effect"
tests:
eval env/bin/nosetests -x $(NOSEARGS)
tests_watch:
eval env/bin/nosetests --with-watcher $(NOSEARGS)
# needed packages: python-gtk2 python-imaging
binexec:
chmod a+x bin/*
install_python_deps: link_to_sys_packages
env/bin/pip install twisted
env/bin/pip install -U -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)/gi $(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)/goocanvasmodule.so $(SP)/
PYTHON=/usr/bin/pypy
PYTHON=/usr/bin/python
create_virtualenv:
mkdir -p env
virtualenv -p $(PYTHON) env
env/bin/pip install -U pip
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
bin/ascoltami2: gst_packages link_to_sys_packages
gst_packages:
sudo aptitude install python-gi gir1.2-gst-plugins-base-1.0 libgirepository-1.0-1 gir1.2-gstreamer-1.0 gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-pulseaudio
packages:
sudo aptitude install coffeescript freemind normalize-audio audacity python-pygoocanvas python-pygame gir1.2-goocanvas-2.0-9 libffi-dev tix libzmq3 python-dev
raspberry_pi_virtualenv:
mkdir -p env_pi
virtualenv --system-site-packages env_pi
raspberry_pi_packages:
sudo apt-get install python-picamera python-twisted
env_pi/bin/pip install cyclone coloredlogs
darcs_show_checkpoint:
darcs add --quiet --recursive ${LIGHT9_SHOW}
darcs rec -a -m "checkpoint show data" ${LIGHT9_SHOW}
/usr/share/arduino/Arduino.mk:
sudo aptitude install arduino-mk
arduino_upload: /usr/share/arduino/Arduino.mk
cd rgbled
make upload
effect_node_setup: create_virtualenv packages binexec install_python_deps
|