(self)
| 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 |
no test coverage detected