Ignore:
Timestamp:
06/03/09 09:23:55 (11 years ago)
Author:
spascoe
Message:

I'm branching to experiment with making nappy a distutils package that
can be eggified.

Location:
nappy/branches/nappy-eggable
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • nappy/branches/nappy-eggable/nappy/utils/parse_config.py

    r3988 r5068  
    1111import os 
    1212 
     13_here = os.path.dirname(__file__) 
     14 
    1315# Global variables 
    14 base_dir = os.environ.get("NAPPY_BASE_DIR", ".." + os.path.sep + "..") 
     16base_dir = os.environ.get("NAPPY_BASE_DIR", os.path.join(_here, '..')) 
    1517config_file = os.path.join(base_dir, "nappy.ini") 
    1618config_dict = None 
Note: See TracChangeset for help on using the changeset viewer.