<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def deprecation_warning(func, name):
 """Add a deprecation warning do each distribution."""

    @wraps(func)
    def caller(*args, **kwargs):
        """Docs to be replaced."""
        logger = logging.getLogger(__name__)
        instance = func(*args, **kwargs)
        logger.warning(
            "Distribution `chaospy.{}` has been renamed to ".format(name) +
            "`chaospy.{}` and will be deprecated next release.".format(instance.__class__.__name__))
        return instance
    return caller