MCPcopy
hub / github.com/pandas-dev/pandas / check_cython_extensions

Method check_cython_extensions

setup.py:257–267  ·  view source on GitHub ↗
(self, extensions)

Source from the content-addressed store, hash-verified

255 """
256
257 def check_cython_extensions(self, extensions) -> None:
258 for ext in extensions:
259 for src in ext.sources:
260 if not os.path.exists(src):
261 print(f"{ext.name}: -> [{ext.sources}]")
262 raise Exception(
263 f"""Cython-generated file '{src}' not found.
264 Cython is required to compile pandas from a development branch.
265 Please install Cython or download a release package of pandas.
266 """
267 )
268
269 def build_extensions(self) -> None:
270 self.check_cython_extensions(self.extensions)

Callers 1

build_extensionsMethod · 0.95

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected