Skip to content

Commit dc46bd2

Browse files
committed
1
1 parent 29a3d9e commit dc46bd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ class build_extensions(build_ext):
261261
This is often a matter of using vcvarsall.bat from your install directory, or running
262262
from a command prompt in the Visual Studio Tools Start Menu.
263263
===============================================================================
264+
%s
264265
""" if is_windows else """
265266
===============================================================================
266267
WARNING: could not compile %s.
@@ -297,6 +298,7 @@ class build_extensions(build_ext):
297298
$ brew install libev
298299
299300
===============================================================================
301+
%s
300302
"""
301303

302304
def run(self):
@@ -305,7 +307,7 @@ def run(self):
305307
build_ext.run(self)
306308
except PlatformError as exc:
307309
sys.stderr.write('%s\n' % str(exc))
308-
warnings.warn(self.error_message % "C extensions.")
310+
warnings.warn(self.error_message % ("C extensions.", str(exc)))
309311
if CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST:
310312
raise
311313

0 commit comments

Comments
 (0)