<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_relocate_package(cls, package_name, shade_prefix=None, recursive=True):
 """Convenience constructor for a package relocation rule. Essentially equivalent to just using ``shading_relocate('package_name.**')``. :param string package_name: Package name to shade (eg, ``org.pantsbuild.example``). :param string shade_prefix: Optional prefix to apply to the package. Defaults to ``__shaded_by_pants__.``. :param bool recursive: Whether to rename everything under any subpackage of ``package_name``, or just direct children of the package. (Defaults to True). """

    return cls.create_relocate(from_pattern=cls._format_package_glob(package_name, recursive),
                               shade_prefix=shade_prefix)