Groups
Sign in
Groups
sage-packaging
Conversations
About
Send feedback
Help
How to build docs for a distribution?
16 views
Skip to first unread message
Isuru Fernando
unread,
Jun 14, 2020, 12:36:30 AM
6/14/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-pa...@googlegroups.com
I'm using "python setup.py build" to build the sage python library and install in conda.
How do I build the docs without going through the './sage' build process?
Isuru
François Bissey
unread,
Jun 14, 2020, 12:46:24 AM
6/14/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-pa...@googlegroups.com
First you need to bootstrap the documentation (or patch to remove documentation about installing sage).
https://github.com/cschwan/sage-on-gentoo/blob/master/sci-mathematics/sage/sage-9.1.ebuild#L328
Other than that I build the doc in a folder called docbuild
https://github.com/cschwan/sage-on-gentoo/blob/master/sci-mathematics/sage/sage-9.1.ebuild#L388-L397
I deal with a few things that I still can’t figure out
https://github.com/cschwan/sage-on-gentoo/blob/master/sci-mathematics/sage/sage-9.1.ebuild#L458-L467
Lots of garbage files from plotting, which would otherwise be caught in my installation.
rst files morph into rst.txt files for some reason, which means you cannot doctest them once installed.
then I copy in the right place after setup.py install. This is done by boiler plate portage
machinery.
> --
> You received this message because you are subscribed to the Google Groups "sage-packaging" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-packagin...@googlegroups.com
.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-packaging/CA%2B01voMnUnvfEVQYCju%3DNU15ww-JHxvPaA24aRf1BOL%3DOqL0Xw%40mail.gmail.com
.
Antonio Rojas
unread,
Jun 14, 2020, 3:47:35 AM
6/14/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-packaging
Here is our (hopefully self-explanatory) build script (the main build step is line 53)
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/sagemath-doc
Timo Kaufmann
unread,
Jun 14, 2020, 7:12:43 AM
6/14/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-packaging
For further reference, here's the nixpkgs defintion:
https://github.com/NixOS/nixpkgs/blob/20e62aa580c2ed83b1a1b9caf0bd8431c0ab3666/pkgs/applications/science/math/sage/sagedoc.nix#L50
Reply all
Reply to author
Forward
0 new messages