> Hi Francois,
> 
> On Mon, Oct 18, 2010 at 1:45 AM, François Bissey
> 
> <[email protected]> wrote:
> > Hi,
> > 
> > I am one of the guys working on getting sage as a system package in
> > Gentoo. Because a problem I had with mpmath (including the version
> > shipped in sympy) I discovered that the setup.py file for sympy includes
> > 
> > import sympy
> > 
> > that is it imports itself. I don't think that's right in any way. The
> > only use I see from the setup.py file is to get sympy's version
> > automatically.
> > 
> > There is one big problem with that. If sympy is already installed in your
> > system and known to your installed python the version already installed
> > is imported. In short if you have sympy-0.6.6 installed in your system
> > and you try to install sympy-0.6.7 the version reported in setup.py will
> > be 0.6.6.
> > 
> > It is clearly what's happening at the moment with the gentoo ebuilds.
> 
> Right, I think that is clearly hackish. What is the best way to fix this?
> 
Hi Ondrej,

Well after talking to other devs Gentoo side, we can deal with it more easily
than I thought by just setting PYTHONPATH before calling setup.py.

Removing "import sympy" from setup.py also torpedo the way you call the test 
suite and the benchmarks so that's not nice.

I notice that mpmath uses distutils to run their tests, if you want to change
things that's something you could explore.

Francois

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
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