Skip to content

Commit cc099d6

Browse files
committed
BUG: bug in setup.py with cython and sdist command class #2188
1 parent ad6e2c3 commit cc099d6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,14 +538,12 @@ def run(self):
538538
cmdclass['build_ext'] = build_ext
539539
if BUILD_CACHE_DIR: # use the cache
540540
cmdclass['build_ext'] = CachingBuildExt
541+
cmdclass['cython'] = CythonCommand
542+
cmdclass['sdist'] = CheckSDist
541543
else:
542-
543544
suffix = '.c'
544545
cmdclass['build_src'] = DummyBuildSrc
545-
546-
cmdclass['cython'] = CythonCommand
547546
cmdclass['build_ext'] = build_ext
548-
cmdclass['sdist'] = CheckSDist
549547

550548
tseries_depends = ['reindex', 'groupby', 'skiplist', 'moments',
551549
'reduce', 'stats', 'datetime',

0 commit comments

Comments
 (0)