import re


def isPythonPackageInstaller(namelist):
    """Return the directory path containing the setup.py file, False otherwise."""
    for n in namelist:
        match = re.search(r'^(.*?)/setup\.py$', n)
        if match:
            return match.group(1)
    return False