view python-modules/paver/defaults.py @ 123:08a012e96f62

Added another test and fixed a bug it revealed.
author Atul Varma <varmaa@toolness.com>
date Wed, 19 Aug 2009 01:00:35 -0700
parents 3c2151124cee
children
line wrap: on
line source

"""The namespace for the pavement to run in, also imports default tasks."""

import warnings

warnings.warn("""paver.defaults is deprecated. Import from paver.easy instead.
Note that you will need to add additional declarations for exactly
equivalent behavior. Specifically:

from paver.easy import *
import paver.misctasks
from paver import setuputils

setuputils.install_distutils_tasks()
""", DeprecationWarning, 2)

from paver.easy import *
from paver.misctasks import *
from paver import setuputils

setuputils.install_distutils_tasks()