Add error if trying to run python setup.py sdist without pandoc

This commit is contained in:
Jason Paryani 2019-01-31 01:03:21 -08:00
parent da8f8869fc
commit e4d7e21a66

View file

@ -49,6 +49,8 @@ try:
changelog = '\nChangelog\n=============\n' + changelog
long_description += changelog
except (IOError, ImportError):
if sys.argv[2] == 'sdist':
raise
long_description = ''
# Clean command, invoked with `python setup.py clean`