summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/compiler
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-17 17:38:38 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-17 17:38:38 (GMT)
commit74d68135adffce55cf96e62c0c71ab72945a7753 (patch)
tree152618e1cf9d7645e20e19939f5cf0ad5974afa9 /Lib/packaging/compiler
parent92cafb85dd3143baa7016475b3895f5491fe451f (diff)
parented5d2f131083f16ab3d305ccc6f58c66f70f1f75 (diff)
downloadcpython-74d68135adffce55cf96e62c0c71ab72945a7753.zip
cpython-74d68135adffce55cf96e62c0c71ab72945a7753.tar.gz
cpython-74d68135adffce55cf96e62c0c71ab72945a7753.tar.bz2
Brange merge
Diffstat (limited to 'Lib/packaging/compiler')
-rw-r--r--Lib/packaging/compiler/msvc9compiler.py8
-rw-r--r--Lib/packaging/compiler/msvccompiler.py3
-rw-r--r--Lib/packaging/compiler/unixccompiler.py2
3 files changed, 6 insertions, 7 deletions
diff --git a/Lib/packaging/compiler/msvc9compiler.py b/Lib/packaging/compiler/msvc9compiler.py
index 43fc5fa..6ca49c2 100644
--- a/Lib/packaging/compiler/msvc9compiler.py
+++ b/Lib/packaging/compiler/msvc9compiler.py
@@ -130,10 +130,10 @@ class MacroExpander:
raise KeyError("sdkinstallrootv2.0")
except KeyError:
raise PackagingPlatformError(
- """Python was built with Visual Studio 2008;
-extensions must be built with a compiler than can generate compatible binaries.
-Visual Studio 2008 was not found on this system. If you have Cygwin installed,
-you can try compiling with MingW32, by passing "-c mingw32" to setup.py.""")
+"""Python was built with Visual Studio 2008; extensions must be built with a
+compiler than can generate compatible binaries. Visual Studio 2008 was not
+found on this system. If you have Cygwin installed, you can try compiling
+with MingW32, by passing "-c mingw32" to pysetup.""")
if version >= 9.0:
self.set_macro("FrameworkVersion", self.vsbase, "clr version")
diff --git a/Lib/packaging/compiler/msvccompiler.py b/Lib/packaging/compiler/msvccompiler.py
index 97f76bb..3d4ac3c 100644
--- a/Lib/packaging/compiler/msvccompiler.py
+++ b/Lib/packaging/compiler/msvccompiler.py
@@ -134,8 +134,7 @@ class MacroExpander:
"""Python was built with Visual Studio 2003; extensions must be built with
a compiler than can generate compatible binaries. Visual Studio 2003 was
not found on this system. If you have Cygwin installed, you can try
-compiling with MingW32, by passing "-c mingw32" to setup.py.""")
-# XXX update this comment for setup.cfg
+compiling with MingW32, by passing "-c mingw32" to pysetup.""")
p = r"Software\Microsoft\NET Framework Setup\Product"
for base in HKEYS:
diff --git a/Lib/packaging/compiler/unixccompiler.py b/Lib/packaging/compiler/unixccompiler.py
index 8c24c0f..c857d03 100644
--- a/Lib/packaging/compiler/unixccompiler.py
+++ b/Lib/packaging/compiler/unixccompiler.py
@@ -33,7 +33,7 @@ import sysconfig
# we need some way for outsiders to feed preprocessor/compiler/linker
# flags in to us -- eg. a sysadmin might want to mandate certain flags
# via a site config file, or a user might want to set something for
-# compiling this module distribution only via the setup.py command
+# compiling this module distribution only via the pysetup command
# line, whatever. As long as these options come from something on the
# current system, they can be as system-dependent as they like, and we
# should just happily stuff them into the preprocessor/compiler/linker