#7402: SageNB -- Use `pkg_resources` to locate `DATA` directory
----------------------------+-----------------------------------------------
Reporter: timdumol | Owner: boothby
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.3
Component: notebook | Keywords: sagenb notebook
Work_issues: | Author: Tim Dumol
Reviewer: Mitesh Patel | Merged:
----------------------------+-----------------------------------------------
Comment(by timdumol):
Replying to [comment:3 mpatel]:
> A Sphinx warning to keep in mind:
> {{{
> copying static files... WARNING: static directory
'/home/apps/sage/local/lib/python/site-packages/sagenb/data/jsmath/' does
not exist
> }}}
Since this is only used for development, I don't think there's much of a
problem. It should be possible to fix by making Sphinx read the .pth file
and look there, but I am inexperienced regarding that.
Regards the --dev-mode thing, I just noticed that SageNB uses disttools,
not setuptools, which is why the `sage -python setup.py develop` command
does not exist. This is now #7467.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7402#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---