Skip to content

Commit

Permalink
setup.py: error message if (py)pandoc missing
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaus committed Dec 12, 2015
1 parent 654e589 commit 9af6de7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
LDESC = LDESC.replace(text, '')
# Converting to rst
LDESC = pypandoc.convert(LDESC, 'rst', format='md')
except (ImportError, IOError, RuntimeError):
except (ImportError, IOError, RuntimeError) as e:
print("Could not create long description:")
print(str(e))
LDESC = ''

setup(name='ds1054z',
Expand Down

0 comments on commit 9af6de7

Please sign in to comment.