Sympy has some installation problems.

1. Depenencies. Sympy depends on pyglet and mpmath and they are thus
included in a separate thirdparty directory. This has some drawbacks:
Other programs than sympy can't use them and it ignores existing
installations of these modules. Furthermore it's involved in issues
like the following one.

2. Upgrading. The current, distutils-based setup.py doesn't remove old
files before installing, which can break sympy completely:
http://code.google.com/p/sympy/issues/detail?id=864

I think at least the first problem can be solved when using setuptools/
easy_install instead of distutils, as one of the main advantages of
setuptools is dependencies-handling. The second problem can probably
be solved too (there seems to be support for upgrading/uninstalling),
but I'm not sure.

I just tried easy_install for ipython:

"
# easy_install ipython
Searching for ipython
Reading http://pypi.python.org/simple/ipython/
Reading http://ipython.scipy.org
Reading http://ipython.scipy.org/dist
Best match: ipython 0.8.4
Downloading http://ipython.scipy.org/dist/ipython-0.8.4-py2.5.egg
Processing ipython-0.8.4-py2.5.egg
creating /usr/local/lib/python2.5/site-packages/ipython-0.8.4-
py2.5.egg
Extracting ipython-0.8.4-py2.5.egg to /usr/local/lib/python2.5/site-
packages
Adding ipython 0.8.4 to easy-install.pth file
Installing ipython script to /usr/local/bin
Installing pycolor script to /usr/local/bin

Installed /usr/local/lib/python2.5/site-packages/ipython-0.8.4-
py2.5.egg
Processing dependencies for ipython
Finished processing dependencies for ipython
"

IMHO it's awesome. Let's switch to this way of distribution of sympy
and its third party modules. (Additionally there could be of course a
tar ball with all dependencies included.) What do you think?

Links:
http://pypi.python.org/pypi/setuptools/
http://peak.telecommunity.com/DevCenter/setuptools
http://peak.telecommunity.com/DevCenter/EasyInstall
It was going to be included in Python 2.5 but the author refused:
http://mail.python.org/pipermail/python-dev/2006-April/064145.html

Vinzent
--~--~---------~--~----~------------~-------~--~----~
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