[pyevolve] 25/81: Add README with instructions for how to run examples

Christian Kastner chrisk-guest at moszumanska.debian.org
Sun Aug 17 21:12:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository pyevolve.

commit 432c92f1dc3f0f278d4be4b000bd1899d67f438d
Author: Christian Kastner <debian at kvr.at>
Date:   Mon Jun 28 13:36:20 2010 +0200

    Add README with instructions for how to run examples
---
 debian/README.examples | 11 +++++++++++
 debian/rules           |  6 ++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/README.examples b/debian/README.examples
new file mode 100644
index 0000000..050cc4c
--- /dev/null
+++ b/debian/README.examples
@@ -0,0 +1,11 @@
+README for Pyevolve examples
+----------------------------
+
+To run the following examples, you must be in a directory for which you have
+write permission, eg:
+
+  $ cd /tmp
+  $ python /usr/shar/doc/python-pyevolve-doc/examples/pyevolve_ex1_simply.py
+
+This will store data in an sqlite database 'pyevolve.db'. You can then create
+various graphs with pyevolve-graph(1).
diff --git a/debian/rules b/debian/rules
index b7b37ea..6a4ec2a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,12 @@ override_dh_auto_install:
 	           > debian/python-pyevolve/usr/bin/pyevolve-graph
 	rm -f debian/python-pyevolve/usr/bin/pyevolve_graph.py
 
+# Override needed for README
+override_dh_installexamples:
+	dh_installexamples
+	cp debian/README.examples \
+		debian/python-pyevolve-doc/usr/share/doc/python-pyevolve-doc/examples
+
 # Don't compress sphinx's javascript and Python example files
 override_dh_compress:
 	dh_compress -X.js -X.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyevolve.git



More information about the debian-science-commits mailing list