MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / run

Method run

_setup.py:67–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65"""
66
67 def run(self):
68 try:
69 build_ext.run(self)
70 except Exception:
71 if os.environ.get("PYMONGO_C_EXT_MUST_BUILD"):
72 raise
73 e = sys.exc_info()[1]
74 sys.stdout.write("%s\n" % str(e))
75 warnings.warn(
76 self.warning_message
77 % (
78 "Extension modules",
79 "There was an issue with your platform configuration - see above.",
80 ),
81 stacklevel=2,
82 )
83
84 def build_extension(self, ext):
85 # "ProgramFiles(x86)" is not a valid environment variable in Cygwin but is needed for

Callers 2

initializeMethod · 0.45
test_uv_loop.pyFile · 0.45

Calls 2

getMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected