Cause buildtools to raise a DeprecationWarning.

This commit is contained in:
Brett Cannon 2007-05-31 19:40:42 +00:00
parent c2aa09ad80
commit 791d56f1f7
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,9 @@ import macresource
import EasyDialogs import EasyDialogs
import shutil import shutil
import warnings
warnings.warn("the buildtools module is deprecated", DeprecationWarning, 2)
BuildError = "BuildError" BuildError = "BuildError"

View File

@ -909,6 +909,8 @@ Windows
Mac Mac
--- ---
- buildtools now raises a DeprecationWarning.
- Removed the macfs module. It had been deprecated since Python 2.5. This - Removed the macfs module. It had been deprecated since Python 2.5. This
lead to the deprecation of macostools.touched() as it relied solely on macfs lead to the deprecation of macostools.touched() as it relied solely on macfs
and was a no-op under OS X. and was a no-op under OS X.