def run(self):
# Make sure the compiled Cython files in the distribution are
# up-to-date
try:
import pypandoc
except ImportError:
raise RuntimeError(
'Trying to create a source distribution without pypandoc. '
'The readme will not render correctly on pypi without '
'pypandoc so we are exiting.'
)
# Make sure the compiled Cython files in the distribution are up-to-date
from Cython.Build import cythonize
cythonize(cython_extensions)
_sdist.run(self)
评论列表
文章目录