def create_zap_package(cls, package_name, recursive=True):
    """Convenience constructor for a package zap rule.

    Essentially equivalent to just using ``shading_zap('package_name.**')``.

    :param string package_name: Package name to remove (eg, ``org.pantsbuild.example``).
    :param bool recursive: Whether to remove everything under any subpackage of ``package_name``,
      or just direct children of the package. (Defaults to True).
    """
    return cls.create_zap(cls._format_package_glob(package_name, recursive))
def create_zap_package ( cls , package_name , recursive = True ) : return cls . create_zap ( cls . _format_package_glob ( package_name , recursive ) )
Convenience constructor for a package zap rule.

    Essentially equivalent to just using ``shading_zap('package_name.**')``.

    :param string package_name: Package name to remove (eg, ``org.pantsbuild.example``).
    :param bool recursive: Whether to remove everything under any subpackage of ``package_name``,
      or just direct children of the package. (Defaults to True).