I guess some package management would be an improvement from the present situation. the fact it only works for python packages is a bit half baked but it is a good step in my opinion.
As far as I can tell this means that once we have bootstrapped pip we can simplify spkg-install for python package by just calling pip. One very interesting question has been raised: how does it deal with patching and other custom settings that are used in what I will call "vanilla" sage (as opposed to lmonade or sage-on-gentoo). We definitely want a way to include patches or special pre-build steps in. The easy upgrade will lead you in interesting territories too. In my sage-on-gentoo install I currently use numpy-1.8.1 scipy-0.13.3 rpy 2.3.10 for example. I am not currently suggesting vanilla to move to numpy-1.8.x currently because scipy has to drop "import old numeric" statement that trigger a bunch of extra doctests warnings that are not in vanilla. You'll have to be ready for things to break if you upgrade cython early, ipython also comes to mind. It will ease some experimentation but we have to be able to settle on a given version for each package in the default build. I assume it is the case that you ask pip for a specific version. François On 24/04/2014, at 20:13, John Cremona <john.crem...@gmail.com> wrote: > Question: would this make it possible to automatically have certain > python packages installed when Sage builds (after building its python > of course), perhaps from a list kept in a config file in .sage/ ? I > have a list of packages I use a lot (for the lmfdb project), e.g. > pymongo, and it is a nuisance to have to re-install them from time to > time. > > Since we ship and build python anyway, it seems very reasonable to > also include this very useful python utility, so +1 from me. > > John > > On 24 April 2014 08:49, Jan Groenewald <j...@aims.ac.za> wrote: >> Hi >> >> >> On 24 April 2014 09:44, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote: >>> >>> On 2014-04-24 00:46, William Stein wrote: >>>> >>>> Hi, >>>> >>>> There used to be a lot of confusion about which package manager / >>>> installer one should use with python -- easy_install? setuptools? >>>> etc. >>>> >>>> Now the choice is clear: pip -- A tool for installing and managing >>>> Python packages. >>> >>> Does pip supersede setuptools? I.e. could we remove setuptools if we use >>> pip? >> >> >> 0 jan@muizenberg:/var/autofs/misc/home/jan$apt-cache depends python-pip|grep >> setuptools >> Depends: python-setuptools >> >> http://dubroy.com/blog/so-you-want-to-install-a-python-package/ >> >> Regards, >> Jan >> >> -- >> .~. >> /V\ Jan Groenewald >> /( )\ www.aims.ac.za >> ^^-^^ >> >> -- >> 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...@googlegroups.com. >> To post to this group, send email to sage-devel@googlegroups.com. >> Visit this group at http://groups.google.com/group/sage-devel. >> For more options, visit https://groups.google.com/d/optout. > > -- > 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...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- 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...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.