#14750: sysconfdir not respected/implemented
------------------------------------------------+---------------------------
       Reporter:  felixs                        |         Owner:  tbd      
           Type:  defect                        |        Status:  new      
       Priority:  critical                      |     Milestone:  sage-5.11
      Component:  distribution                  |    Resolution:           
       Keywords:  sysconfdir, sage-the-library  |   Work issues:           
Report Upstream:  N/A                           |     Reviewers:           
        Authors:  Felix Salfelder               |     Merged in:           
   Dependencies:                                |      Stopgaps:           
------------------------------------------------+---------------------------

Comment (by felixs):

 Replying to [comment:1 leif]:

 > (It's a bit funny to say Sage doesn't repect that `Makefile` variable
 when it doesn't even have a `configure`; Sage's top-level Makefile
 certainly doesn't follow any of those conventions, and the Sage library
 currently doesn't use `make` at all.)

 My copy of Sage has a configure. I must have repressed the previous state.
 ;)

 Replying to [comment:2 leif]:
 > P.S.:  Other config files end up below `$DOT_SAGE` (which defaults to
 `$HOME/.sage/`).

 While I'm at it: How about use something like the following to access
 config files in general?

 {{{
 #!python
 def configfile(name):
   if os.exists(HOME + "/.sage/" + name)
     return open(HOME + "/.sage/" + name)
   return open("SAGE_ETC"+name)
 }}}

 This might increase readability and enable overrides.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14750#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to