summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/plat-mac/buildtools.py3
-rw-r--r--Misc/NEWS2
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py
index c83e218024..f5dab88d9d 100644
--- a/Lib/plat-mac/buildtools.py
+++ b/Lib/plat-mac/buildtools.py
@@ -14,6 +14,9 @@ import macresource
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 740602b22d..068bf71512 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -909,6 +909,8 @@ Windows
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.