summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/buildtools.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-12 21:42:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-12 21:42:13 (GMT)
commit236819310db3fe6f2fb22d48b780fa6ec253b6c7 (patch)
treece5ca9792381d9ced99e8e871324891ddbeb0e28 /Lib/plat-mac/buildtools.py
parentf9b54c24114b15ff920249244fe361aee276c248 (diff)
downloadcpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.zip
cpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.tar.gz
cpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.tar.bz2
Add warnings to and deprecated all those Mac modules
Diffstat (limited to 'Lib/plat-mac/buildtools.py')
-rw-r--r--Lib/plat-mac/buildtools.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py
index 7462d95..0081e65 100644
--- a/Lib/plat-mac/buildtools.py
+++ b/Lib/plat-mac/buildtools.py
@@ -1,5 +1,9 @@
"""tools for BuildApplet and BuildApplication"""
+import warnings
+warnings.warn("the buildtools module is deprecated and is removed in 3.0",
+ DeprecationWarning, 2)
+
import sys
import os
import string
@@ -14,9 +18,6 @@ import macresource
import EasyDialogs
import shutil
-import warnings
-warnings.warn("the buildtools module is deprecated", DeprecationWarning, 2)
-
BuildError = "BuildError"