# Path: python/gup/log.py
# def getLogger(*a):
# 	logger = logging.getLogger(*a)
# 	logger.addFilter(_color_filter)
# 	return logger
# 
# Path: python/gup/var.py
# IS_WINDOWS = sys.platform.startswith('win')


import os
import errno
from .log import getLogger
from .var import IS_WINDOWS

# _log = getLogger(__name__)

def resolve_base(p):
	return os.path.join(
		os.path.realpath(os.path.dirname(p)),
		os.path.basename(p)
	)

def traverse_from(base, rel, resolve_final=False):

# Path: python/gup/log.py
# def getLogger(*a):
# 	logger = logging.getLogger(*a)
# 	logger.addFilter(_color_filter)
# 	return logger
# 
# Path: python/gup/var.py
# IS_WINDOWS = sys.platform.startswith('win')


# Path: python/gup/path.py
import os
import errno
from .log import getLogger
from .var import IS_WINDOWS


# _log = getLogger(__name__)

def resolve_base(p):
	return os.path.join(
		os.path.realpath(os.path.dirname(p)),
		os.path.basename(p)
	)

def traverse_from(base, rel, resolve_final=False):

	if IS_WINDOWS: