mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 16:35:04 +01:00
Add error if trying to run python setup.py
sdist without pandoc
This commit is contained in:
parent
da8f8869fc
commit
e4d7e21a66
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue