[xmds2] 01/01: Ensure that Python modules are found at build time
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Fri Jan 3 23:19:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository xmds2.
commit 237f4c453292eace0d119c4a533ce053292d5664
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Sat Jan 4 00:18:31 2014 +0100
Ensure that Python modules are found at build time
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index c278df1..a60c7f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,8 @@ override_dh_auto_install:
python setup.py install --root=debian/xmds2 --install-layout=deb
override_dh_auto_test:
- ( cd ./examples ; \
+ ( export PYTHONPATH=$$(pwd) ; \
+ cd ./examples ; \
python ../bin/xmds2 lorenz.xmds ; \
./lorenz ; \
python ../bin/xsil2graphics2 -m lorenz.xsil )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xmds2.git
More information about the debian-science-commits
mailing list