mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Updated way how import babel library to use for as command class options
This commit is contained in:
parent
be27427d7b
commit
4cff61f2aa
6
setup.py
6
setup.py
@ -4,7 +4,11 @@
|
|||||||
.. _github: https://www.github.com/snide/sphinx_rtd_theme
|
.. _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 setuptools import setup
|
||||||
from sphinx_rtd_theme import __version__
|
from sphinx_rtd_theme import __version__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user