Updated way how import babel library to use for as command class options

This commit is contained in:
Leonardo J. Caballero G 2017-04-02 20:51:40 -04:00
parent be27427d7b
commit 4cff61f2aa

View File

@ -4,7 +4,11 @@
.. _github: https://www.github.com/snide/sphinx_rtd_theme
"""
from babel.messages import frontend as babel
try:
from babel.messages import frontend as babel
except ImportError:
pass
from setuptools import setup
from sphinx_rtd_theme import __version__