Re: [sage-devel] An xgcd2 algorithm

2014-04-12 Thread John Cremona
On 12 April 2014 00:06, Robert Bradshaw wrote: > Note that this is implemented in various places, e.g. > https://github.com/sagemath/sagelib/blob/master/sage/ext/multi_modular.pyx > , but certainly a general user-friendly function would be nice to > have. Agreed. In my post I was mainly trying t

[sage-devel] Re: spkg procedures

2014-04-12 Thread Ralf Stephan
So what to do if the external 'tarball' is itself an SPKG that has everything we need? I'm confused see http://trac.sagemath.org/ticket/16008#comment:7 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop recei

Re: [sage-devel] Re: spkg procedures

2014-04-12 Thread John Cremona
On 12 April 2014 09:38, Ralf Stephan wrote: > So what to do if the external 'tarball' is itself an SPKG that has > everything we need? I'm confused see > So it will take very little work to convert to the new system. The src/ subdirectory becomes the "upstream tarball" while the SPKG.txt and spk

[sage-devel] Why I can not install sqlalchemy any longer?

2014-04-12 Thread Simon King
Hi! For some project, I need a recent version of sqlalchemy. Version 0.5.8 shipped with Sage is too old. On one of my laptops, with Sage version 6.1.1, I succeeded in installing sqlalchemy version 0.9.3. What I did was "download sqlalchemy tarball, open it, and do python setup.py install in a sage

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread leif
Simon King wrote: For some project, I need a recent version of sqlalchemy. Version 0.5.8 shipped with Sage is too old. On one of my laptops, with Sage version 6.1.1, I succeeded in installing sqlalchemy version 0.9.3. What I did was "download sqlalchemy tarball, open it, and do python setup.py in

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread Simon King
Hi Leif, On 2014-04-12, leif wrote: > The spkg-install file is trivial; it just deletes the old version > installed and then calls 'python setup.py install'. > > Afterwards run './sage -i sqlalchemy-0.9.4' or probably just './sage -f > sqlalchemy'. How can I get the checksum.ini file right? B

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread Simon King
On 2014-04-12, Simon King wrote: > How can I get the checksum.ini file right? Found it. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@go

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread leif
Simon King wrote: How can I get the checksum.ini file right? ./sage --sh -c sage-fix-pkg-checksums (May take a while; so you may take a look at $SAGE_ROOT/src/bin/sage-fix-pkg-checksums and just do what's done there for sqlalchemy-0.9.4 ... ;-) ) -leif -- () The ASCII Ribbon Campaign /\

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread Simon King
Hi Leif, On 2014-04-12, leif wrote: > Simon King wrote: >> How can I get the checksum.ini file right? > > ./sage --sh -c sage-fix-pkg-checksums Didn't know about that. Instead, I used sha1sum, md5sum and cksum manually. The package seemingly DID install---there was no error reported. However,

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread Simon King
Hi Leif, quite interesting: In SAGE_LOCAL/lib/python/site-packages, one finds some "SQLAlchemy" stuff, but not "sqlalchemy", in spite of renaming. This includes stuff in version 0.9.4. So, apparently installation of the new version has worked. However, even though the spkg-install script does r

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread Simon King
On 2014-04-12, Simon King wrote: > So, why is "rm -rf" not removing the files? When I remove the old stuff by explicitly providing its name, rather than using a wildcard "*" does solve my problem. So, is rm -rf "$SAGE_LOCAL/lib/python/site-packages/SQLAlchemy*" the wrong thing to do, i.e., a bug

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread Simon King
Got it! On 2014-04-12, Simon King wrote: > So, is rm -rf "$SAGE_LOCAL/lib/python/site-packages/SQLAlchemy*" > the wrong thing to do, i.e., a bug? Yes, it is a bug. When I do rm -rf "$SAGE_LOCAL"/lib/python/site-packages/SQLAlchemy* instead (note that '"' is moved) then it works. I don't know

Re: [sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread Jeroen Demeyer
On 2014-04-12 18:08, Simon King wrote: So, is rm -rf "$SAGE_LOCAL/lib/python/site-packages/SQLAlchemy*" the wrong thing to do, i.e., a bug? Yes, it is wrong, the * in the quotes will not be expanded. -- You received this message because you are subscribed to the Google Groups "sage-devel" grou

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread leif
Jeroen Demeyer wrote: On 2014-04-12 18:08, Simon King wrote: So, is rm -rf "$SAGE_LOCAL/lib/python/site-packages/SQLAlchemy*" the wrong thing to do, i.e., a bug? Yes, it is wrong, the * in the quotes will not be expanded. And that's in Sage's original spkg-install, so we should at least fix t

[sage-devel] Re: Why I can not install sqlalchemy any longer?

2014-04-12 Thread leif
leif wrote: Jeroen Demeyer wrote: On 2014-04-12 18:08, Simon King wrote: So, is rm -rf "$SAGE_LOCAL/lib/python/site-packages/SQLAlchemy*" the wrong thing to do, i.e., a bug? Yes, it is wrong, the * in the quotes will not be expanded. And that's in Sage's original spkg-install, so we should a