virtualEnvironment/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py
def _bypass_ensure_directory(path, mode=0o777):
    """Sandbox-bypassing version of ensure_directory()"""
    if not WRITE_SUPPORT:
        raise IOError('"os.mkdir" not supported on this platform.')
    dirname, filename = split(path)
    if dirname and filename and not isdir(dirname):
        _bypass_ensure_directory(dirname)
        mkdir(dirname, mode)
def _bypass_ensure_directory(path, mode=0o777):
    """Sandbox-bypassing version of ensure_directory()"""
    if not WRITE_SUPPORT:
        raise IOError('"os.mkdir" not supported on this platform.')
    dirname, filename = split(path)
    if dirname and filename and not isdir(dirname):
        _bypass_ensure_directory(dirname)
        mkdir(dirname, mode)
def _bypass_ensure_directory ( path , mode = 0o777 ) : if not WRITE_SUPPORT : raise IOError ( '"os.mkdir" not supported on this platform.' ) dirname , filename = split ( path ) if dirname and filename and not isdir ( dirname ) : _bypass_ensure_directory ( dirname ) mkdir ( dirname , mode )
Sandbox-bypassing version of ensure_directory()
Sandbox - bypassing version of ensure_directory ()