@@ -129,6 +129,13 @@ class custom_build_ext(build_ext):
129
129
WARNING: %s could not
130
130
be compiled. No C extensions are essential for PyMongo to run,
131
131
although they do result in significant speed improvements.
132
+ %s
133
+
134
+ Please see the installation docs for solutions to build issues:
135
+
136
+ http://api.mongodb.org/python/current/installation.html
137
+
138
+ Here are some hints for popular operating systems:
132
139
133
140
If you are seeing this message on Linux you probably need to
134
141
install GCC and/or the Python development package for your
@@ -142,7 +149,16 @@ class custom_build_ext(build_ext):
142
149
143
150
$ sudo yum install gcc python-devel
144
151
145
- %s
152
+ If you are seeing this message on Microsoft Windows please install
153
+ PyMongo using the MS Windows installer for your version of Python,
154
+ available on pypi here:
155
+
156
+ http://pypi.python.org/pypi/pymongo/#downloads
157
+
158
+ If you are seeing this message on OSX please read the documentation
159
+ here:
160
+
161
+ http://api.mongodb.org/python/current/installation.html#osx
146
162
********************************************************************
147
163
"""
148
164
@@ -180,9 +196,10 @@ def build_extension(self, ext):
180
196
sys .stdout .write ('%s\n ' % str (e ))
181
197
warnings .warn (self .warning_message % ("The %s extension "
182
198
"module" % (name ,),
183
- "Above is the ouput "
184
- "showing how the "
185
- "compilation failed." ))
199
+ "The output above "
200
+ "this warning shows how "
201
+ "the compilation "
202
+ "failed." ))
186
203
else :
187
204
warnings .warn (self .warning_message % ("The %s extension "
188
205
"module" % (name ,),
0 commit comments