At lp:///~jameinel/bzr/bug_295826
------------------------------------------------------------
revno: 3929
revision-id: [email protected]
parent: [email protected]
committer: John Arbash Meinel <[email protected]>
branch nick: bug_295826
timestamp: Thu 2009-01-08 14:43:58 -0600
message:
Change the warning from setup.py to make it a bit more obvious how to install
without extensions.
=== modified file 'setup.py'
--- a/setup.py 2008-12-11 02:18:59 +0000
+++ b/setup.py 2009-01-08 20:43:58 +0000
@@ -197,8 +197,8 @@
except DistutilsPlatformError, e:
if not self.allow_python_fallback:
log.warn('\n Cannot build extensions.\n'
- ' Use --allow-python-fallback to use slower'
- ' python implementations instead.\n')
+ ' Use "build_ext --allow-python-fallback" to use'
+ ' slower python implementations instead.\n')
raise
log.warn(str(e))
log.warn('\n Extensions cannot be built.\n'
@@ -209,9 +209,9 @@
build_ext.build_extension(self, ext)
except CCompilerError:
if not self.allow_python_fallback:
- log.warn('\n Failed to build "%s".\n'
- ' Use --allow-python-fallback to use slower'
- ' python implementations instead.\n'
+ log.warn('\n Cannot build extensions.\n'
+ ' Use "build_ext --allow-python-fallback" to use'
+ ' slower python implementations instead.\n')
% (ext.name,))
raise
log.warn('\n Building of "%s" extension failed.\n'
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits