The latest version of sympy says it works with jython but I could find
no instructions
on how to set it up.  Are there any?

This is what I tried on Vista but I got the indicated errors.

The Windows installer for sympy installs it into my Python25 directory
where
ordinary python (cpython) is after unzipping jython to \tmp2\jython2
I downloaded sympy from the mercurial repository
and copied the source tree to \tmp2\jython2\Lib\symp and got this:

C:\tmp2\jython2>java -jar jython.jar
*sys-package-mgr*: processing new jar, 'C:\tmp2\jython2\jython.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\resources
.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\rt.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\jsse.jar'

*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\jce.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\charsets.
jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\ext\dnsns
.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\ext\local
edata.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\ext\sunjc
e_provider.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\ext\sunms
capi.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jre6\lib
\ext\sunpk
cs11.jar'
Jython 2.2.1 on java1.6.0_10
Type "copyright", "credits" or "license" for more information.
>>> import sympy
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "C:\tmp2\jython2\Lib\sympy\__init__.py", line 19, in ?
  File "C:\tmp2\jython2\Lib\sympy\core\__init__.py", line 4, in ?
  File "C:\tmp2\jython2\Lib\sympy\core\basic.py", line 339
            @property
            ^
SyntaxError: Lexical error at line 339, column 5.  Encountered:
"@" (64), after
: ""

C:\tmp2\jython2>dir jython.jar
 Volume in drive C is S3A6272D002
 Volume Serial Number is 926F-3FBB

 Directory of C:\tmp2\jython2

13/10/2007  12:06 PM         1,204,789 jython.jar
               1 File(s)      1,204,789 bytes
               0 Dir(s)  55,316,242,432 bytes free

C:\tmp2\jython2>dir Lib\sympy
 Volume in drive C is S3A6272D002
 Volume Serial Number is 926F-3FBB

 Directory of C:\tmp2\jython2\Lib\sympy

04/12/2008  09:19 PM    <DIR>          .
04/12/2008  09:19 PM    <DIR>          ..
04/12/2008  09:16 PM               305 abc.py
04/12/2008  09:18 PM    <DIR>          benchmarks
04/12/2008  09:18 PM    <DIR>          concrete
04/12/2008  09:16 PM               281 conftest.py
04/12/2008  09:19 PM    <DIR>          core
04/12/2008  09:18 PM    <DIR>          functions
04/12/2008  09:18 PM    <DIR>          galgebra
04/12/2008  09:18 PM    <DIR>          geometry
04/12/2008  09:18 PM    <DIR>          integrals
04/12/2008  09:18 PM    <DIR>          interactive
04/12/2008  09:18 PM    <DIR>          matrices
04/12/2008  09:18 PM    <DIR>          mpmath
04/12/2008  09:18 PM    <DIR>          ntheory
04/12/2008  09:18 PM    <DIR>          parsing
04/12/2008  09:18 PM    <DIR>          physics
04/12/2008  09:18 PM    <DIR>          plotting
04/12/2008  09:18 PM    <DIR>          polys
04/12/2008  09:18 PM    <DIR>          printing
04/12/2008  09:18 PM    <DIR>          series
04/12/2008  09:18 PM    <DIR>          simplify
04/12/2008  09:18 PM    <DIR>          solvers
04/12/2008  09:18 PM    <DIR>          statistics
04/12/2008  09:18 PM    <DIR>          test_external
04/12/2008  09:18 PM    <DIR>          thirdparty
04/12/2008  09:18 PM    <DIR>          utilities
04/12/2008  09:19 PM             4,196 __init__$py.class
04/12/2008  09:16 PM             1,264 __init__.py
               4 File(s)          6,046 bytes
              25 Dir(s)  55,315,668,992 bytes free




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

Reply via email to