kr.motd.maven.sphinx.dist.future.moves.tkinter.dialog.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
from __future__ import absolute_import
from future.utils import PY3
if PY3:
from tkinter.dialog import *
else:
try:
from Dialog import *
except ImportError:
raise ImportError('The Dialog module is missing. Does your Py2 '
'installation include tkinter?')