Changeset - df1237c39672
[Not reviewed]
default
0 3 0
Drew Perttula - 8 years ago 2017-03-28 08:23:30
drewp@bigasterisk.com
upgrade lots of pydeps; fix package install instructions
Ignore-this: 4186222244831daaa7b0136b5a89f5bc
3 files changed with 18 insertions and 26 deletions:
0 comments (0 inline, 0 general)
makefile
Show inline comments
 
@@ -27,73 +27,72 @@ binexec:
 
	chmod a+x bin/*
 

	
 
install_python_deps: link_to_sys_packages
 
	env/bin/pip install twisted
 
	env/bin/pip install -U -r requirements.txt
 

	
 
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)/
 
	ln -sf $(DP)/cv2.x86_64-linux-gnu.so $(SP)/
 
	ln -sf $(DP)/cv.py $(SP)/
 
	ln -sf $(DP)/numpy $(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 python-gst0.10 python-gst-1.0
 
	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 python-gst0.10 python-gst-1.0 python-pygoocanvas gir1.2-goocanvas-2.0
 

	
 
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 libssl-dev python-opencv
 
	sudo aptitude install coffeescript normalize-audio audacity python-pygame libffi-dev tix libzmq3-dev python-dev libssl-dev python-opencv
 

	
 
bower:
 
	cd light9/web/lib; bower install
 
	cd light9/web/lib/N3.js; npm install; npm run browser
 
	cd light9/web/lib/d3; npm install
 

	
 
raspberry_pi_virtualenv:
 
	mkdir -p env_pi
 
	virtualenv --system-site-packages env_pi
 

	
 
raspberry_pi_packages:
 
	sudo apt-get install python-picamera python-dev python-twisted python-virtualenv
 
	env_pi/bin/pip install cyclone 'coloredlogs==1.0.1'
 

	
 
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
readme
Show inline comments
 
@@ -21,31 +21,24 @@ See bin/listsongs for a way to make zsh 
 
argument to bin/curvecalc
 

	
 

	
 

	
 
--------------------------------
 

	
 
curvecalc upgrades:
 

	
 
dnd a submaster from KC to CC to make a new subterm and curve with an
 
envelope fading in at the current time
 

	
 
add vidref on mousemove. separate process? yes, vidref polls CC when
 
music is paused
 

	
 
sub autocomplete
 

	
 
fix fader UIs
 

	
 
be able to select grid lines to delete them. maybe grid is on a
 
special curve row
 

	
 
hotter reloading of subs and values. from KC, drag a new sub into CC
 

	
 
drag looks into CC
 

	
 
--------------
 

	
 
eeepc setup:
 
/etc/systemd/logind.conf
 
+HandleLidSwitch=ignore
 

	
requirements.txt
Show inline comments
 
rdflib==4.1.2
 
Twisted==14.0.0
 
webcolors==1.4
 
Twisted==17.1.0
 
webcolors==1.7
 
Louie==1.1
 
cyclone==1.1
 

	
 
web.py==0.37
 
web.py==0.38
 
restkit==4.2.2
 
ipython==3.1.0
 
ipython==5.3.0
 
nose==1.3.7
 
nose-watcher==0.1.3
 
watchdog==0.8.3
 
freezegun==0.3.7
 
ipdb==0.8.1
 
freezegun==0.3.8
 
ipdb==0.10.2
 
coloredlogs==1.0.1
 
genshi==0.7
 
pyjade==3.0.0
 
python-dateutil==2.4.2
 
python-dateutil==2.6.0
 
txosc==0.2.0
 
service_identity==0.2
 
Pillow==2.8.1
 
faulthandler==2.3
 
treq==0.2.1
 
mock==1.0.1
 
toposort==1.0
 
service_identity==16.0.0
 
Pillow==4.0.0
 
faulthandler==2.6
 
treq==16.12.0
 
mock==2.0.0
 
toposort==1.5
 
pyserial==2.7
 

	
 
statprof==0.1.2
 
txzmq==0.7.4
 
txzmq==0.8.0
 

	
 
pyusb==1.0.0
 
coverage==4.1
 
klein==15.3.1
 
coverage==4.3.4
 
klein==17.2.0
 
git+http://github.com/drewp/scales.git@448d59fb491b7631877528e7695a93553bfaaa93#egg=scales
 
colormath==2.1.1
 
noise==1.2.2
 

	
 
typing==3.6.1
0 comments (0 inline, 0 general)