Add decorator.
import deprecation
removed_in="2.0",
current_version=__version__,
details="Use the bar function instead")
def foo():
"""Do some stuff"""
return 1
aenum>= 2.1.2; python_version < '3.6' # BSD
cffi # MIT
cryptography!=2.0 # BSD/Apache-2.0
+deprecation>=2.0.6 # Apache-2.0
faulthandler; python_version < '3.3' # # BSD License (2 clause)
flake8 # MIT
ipaddress; python_version < '3.3' # PSF
