Have a look at build/pkgs/sagenb/spkg-install
which does what you are looking for, in one go, I think. On Thu, Jan 31, 2019 at 8:49 AM Vincent Klein <vinkl...@gmail.com> wrote: > > Hi, > > I am looking for a good way to compile a package sphinx's documentation > during a spkg-install execution. > After doing a sdh_pip_install the compiled files are still in a temporary > directory ($SAGE_DESTDIR_LOCAL/lib/python2.7/site-packages), a therefore a > simple sphinx "make html" will fail to find your package's compiled files. > I am looking for a generic way for the /lib/python2.7/site-packages part. I > haven't find an environment variable for that (I think this path is > given/constructed by distutils). > > This question comes from ticket > https://trac.sagemath.org/ticket/23024#comment:106. > > The current workaround we have is doing an "inplace" build before generating > the documentation > (https://git.sagemath.org/sage.git/commit/?id=ef8997834f73c34d983260c0ba782041d0966a02) > > Any help is welcomed > > Vincent K. > > -- > 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. -- 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.