Comment #1 on issue 1297 by andy.terrel: examples don't run
http://code.google.com/p/sympy/issues/detail?id=1297

Oh yes there was a patch I forgot to apply:

 From 9d4591f3cfd8ca37244c8920e71940f9df3ea83c Mon Sep 17 00:00:00 2001
From: Andy R. Terrel <ater...@uchicago.edu>
Date: Wed, 10 Dec 2008 08:42:01 -0600
Subject: [PATCH] More explanation for running examples in readme.

---
  examples/README |   17 +++++++++++++----
  1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/examples/README b/examples/README
index 55fe855..12f9bcd 100644
--- a/examples/README
+++ b/examples/README
@@ -21,11 +21,20 @@ advanced :
   
-------------------------------------------------------------------------------
  RUNNING EXAMPLES

-To run the examples one needs to have Python version >= 2.4 installed.   
Each
-example can be run from the command line python and the name of the  
example:
+To run the examples one needs to have Python version >= 2.4 installed and  
SymPy
+must be in your PYTHONPATH environment variable, alternatively you can run  
the
+examples from the top sympy directory.  Most example can be run from the
+command line python and the name of the example:

+  ater...@lilac:~/sympy$ python examples/beginner/basic.py
+  (3*a*b**2)**c
+
+or, with PYHTONPATH defined
+
+  ater...@lilac:~/sympy/examples$ export PYTHONPATH=$PWD/..:$PYTHONPATH
    ater...@lilac:~/sympy/examples$ python beginner/basic.py
    (3*a*b**2)**c

-All the working examples can be run by executing the "./all" script, if an
-example is known to be broken it will be commented out in this script.
+All the working examples can be run by executing the "all.py" script, use
+./all.py -h for usage, if an example is known to be broken it will be  
commented
+out in this script.
-- 
1.6.0.3



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to