def projects(): 'Return the absolute path to the directory holding the projects' from config import cli path = cli.cfg('projects_directory',default='projects',section='main') if path[0] == '/': return path return os.path.join(cli.cwd, path)
def external(): 'Return the absolute path to the directory holding the external packages' from config import cli path = cli.cfg('external_directory',default='external',section='main') if path[0] == '/': return path return os.path.join(cli.cwd, path)