Changeset - 02415a3cebb2
[Not reviewed]
default
1 1 1
Drew Perttula - 9 years ago 2016-05-30 08:27:04
drewp@bigasterisk.com
requirements.txt filename
Ignore-this: 9d7cefc433f3e552f016486b52446fde
2 files changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
makefile
Show inline comments
 
NOSEARGS="--no-path-adjustment light9.rdfdb.rdflibpatch light9.rdfdb.patch light9.effecteval.test_effect light9.collector.collector_test light9.collector.output_test"
 

	
 
tests:
 
	eval env/bin/nosetests -x $(NOSEARGS)
 

	
 
tests_watch:
 
	eval env/bin/nosetests --with-watcher $(NOSEARGS)
 

	
 

	
 
tests_coverage:
 
	eval env/bin/nosetests --with-coverage --cover-erase --cover-html --cover-html-dir=/tmp/light9-cov/  --cover-package=light9 --cover-branches $(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
 
	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)/
 

	
 
PYTHON=/usr/bin/pypy
 
PYTHON=/usr/bin/python
 

	
 
create_virtualenv:
 
	mkdir -p env
 
	virtualenv -p $(PYTHON) env
requirements.txt
Show inline comments
 
file renamed from pydeps to requirements.txt
0 comments (0 inline, 0 general)