Cause buildtools to raise a DeprecationWarning.
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py
index c83e218..f5dab88 100644
--- a/Lib/plat-mac/buildtools.py
+++ b/Lib/plat-mac/buildtools.py
@@ -14,6 +14,9 @@
import EasyDialogs
import shutil
+import warnings
+warnings.warn("the buildtools module is deprecated", DeprecationWarning, 2)
+
BuildError = "BuildError"
diff --git a/Misc/NEWS b/Misc/NEWS
index 740602b..068bf71 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -909,6 +909,8 @@
Mac
---
+- buildtools now raises a DeprecationWarning.
+
- 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
and was a no-op under OS X.