On Tue, Jun 12, 2012 at 9:06 AM, Chris Hall <[email protected]> wrote: > I am in the process of transplanting a library (ellff) from purple sage to > sage (5.0). It seems natural to place it in sage.libs.ellff. Is there > somewhere better? > > Let's suppose that's where I place it for discussion. I placed code in the > folder sage/libs/ellff, added code to setup.py and module_list.py to point > to the new library, and ran 'sage -b'. When I run sage, then prior to > importing the module, it is not visible if I type 'sage.libs.<Tab>'. Why is > that?
Because you have to import it. Put "import sage.libs.ellff" or some such in sage/libs/all.py > Are there other steps I need to take to integrate my library (perhaps > even additional edits of one of the aforementioned files)? Are there any > conventions I should consider about what I put in __init__.py and all.py? > > Thanks, > Chris > > -- > 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-support > URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- 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-support URL: http://www.sagemath.org
