def _ensure_safe_name(name):
        """
        Prevent paths in *_scripts entry point names.
        """
        has_path_sep = re.search(r'[\\/]', name)
        if has_path_sep:
            raise ValueError("Path separators not allowed in script names")

        Prevent paths in *_scripts entry point names.
        
product/gradle-plugin/src/main/python/setuptools/command/easy_install.py