"""Graphical User Interface (GUI) for configuration and database inspection.

The GUI is a leight-weight interface which makes the configuration
of the signac framework and data inspection more straight-forward."""
import warnings
try:
    import PySide  # noqa
except ImportError:
    warnings.warn("Failed to import PySide. "
                  "gui will not be available.", ImportWarning)

    def main():
        """Start signac-gui.

        The gui is only available if PySide is installed."""
        raise ImportError(
            "You need to install PySide to use the gui.")
else:
    from .gui import main

__all__ = ['main']

"""Graphical User Interface (GUI) for configuration and database inspection.

The GUI is a leight-weight interface which makes the configuration
of the signac framework and data inspection more straight-forward."""
import warnings
try:
    import PySide  # noqa
    import pymongo  # noqa
except ImportError as error:
    msg = "{}. The signac gui is not available.".format(error)
    warnings.warn(msg, ImportWarning)

    def main():
        """Start signac-gui.

        The gui requires PySide and pymongo."""
        raise ImportError(msg)
else:
    from .gui import main

__all__ = ['main']

Remove hard dependency for pymongo.
Remove hard dependency for pymongo.

Caused by pulling the gui package into the signac namespace.
Fixes issue #24.
