def METHOD_NAME(sp_dir, pkg_path):
    """
    Look for pkg_path in conda.pth file in site-packages directory and remove
    it. If pkg_path is not found in conda.pth, it means package is not
    installed in 'development mode' via conda develop.
    :param sp_dir: path to site-packages/. directory
    :param pkg_path: the package path to be uninstalled.
    """
    o_c_pth = join(sp_dir, "conda.pth")
    n_c_pth = join(sp_dir, "conda.pth.temp")
    found = False
    with open(n_c_pth, "w") as new_c:
        with open(o_c_pth) as orig_c:
            for line in orig_c:
                if line != pkg_path + "\n":
                    new_c.write(line)
                else:
                    print("uninstalled: " + pkg_path)
                    found = True
    if not found:
        print("conda.pth does not contain path: " + pkg_path)
        print("package not installed via conda develop")
    shutil.move(n_c_pth, o_c_pth)