Skip to content

Commit 461e0e9

Browse files
committed
BLD: require cython if tempita is needed
closes #14204
1 parent 37f95ce commit 461e0e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ def is_platform_mac():
125125
class build_ext(_build_ext):
126126
def build_extensions(self):
127127

128+
if not cython:
129+
raise ImportError('Building pandas requires cython')
130+
128131
for pxifile in _pxifiles:
129132
# build pxifiles first, template extention must be .pxi.in
130133
assert pxifile.endswith('.pxi.in')

0 commit comments

Comments
 (0)