On Sunday, June 5, 2016 at 12:59:57 PM UTC-7, Nils Bruin wrote: > > The problem arose specifically when I was looking at > https://github.com/abelfunctions/abelfunctions which packages itself as > an spkg. Obviously, I didn't want to install this (when trying it out!) in > a system-wide sage, but I also didn't want to force the student who needed > to look at it to build a private sage version just to try out a package. > > In fact, as it turns out, the spkg does contain relevant instructions in spkg-install. Running sage setup.py build_ext --inplace
builds the extension without writing in any system directories. It doesn't seem to add anything to the search paths (and it probably shouldn't) so you have to add the relevant path to sys.path (or make sure that the current directory happens to be the relevant path). It's nice to see that extension modules produced by cython are picked up from those paths too. -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.