#11851: make pybtex an optional spkg
------------------------------------------------+---------------------------
       Reporter:  ranosch                       |         Owner:  tbd         
           Type:  task                          |        Status:  needs_review
       Priority:  major                         |     Milestone:  sage-5.1    
      Component:  optional packages             |    Resolution:              
       Keywords:  BibTeX citations              |   Work issues:              
Report Upstream:  N/A                           |     Reviewers:              
        Authors:  Niels Ranosch, Burcin Erocal  |     Merged in:              
   Dependencies:                                |      Stopgaps:              
------------------------------------------------+---------------------------

Comment (by jhpalmieri):

 Regarding nose, I was thinking of something like this in spkg-check:
 {{{
 #!sh
 if [ -x "$SAGE_LOCAL/bin/nosetests" ]; then
     # RUN TESTS HERE.
     if [ $? -ne 0 ]; then  # REPLACE WITH SUITABLE CHECK THAT TESTS
 PASSED.
         echo >&2 "Error running tests."
         exit 1
     fi
 else
     echo "Not running tests since nose is not installed."
 fi
 }}}
 Or you could replace the first line with a test for the suitable library
 in `$SAGE_ROOT/local/lib/python/site-packages`, say by running a little
 python script.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11851#comment:9>
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.

Reply via email to