Changeset - 2eb1b1874929
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-15 07:17:21
drewp@bigasterisk.com
some more tools I use
Ignore-this: 8d3e7b79579c8363399bd6207133de3
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
makefile
Show inline comments
 
@@ -7,49 +7,49 @@ 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)/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)/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
 

	
 
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
 
	sudo aptitude install coffeescript freemind normalize-audio audacity
0 comments (0 inline, 0 general)