"""Package for GitMan."""

from pkg_resources import get_distribution

from .commands import delete as uninstall  # pylint: disable=redefined-builtin
from .commands import display as list
from .commands import init, install, lock, update

__version__ = get_distribution("gitman").version

"""Package for GitMan."""

from pkg_resources import DistributionNotFound, get_distribution

from .commands import delete as uninstall  # pylint: disable=redefined-builtin
from .commands import display as list
from .commands import init, install, lock, update

try:
    __version__ = get_distribution("gitman").version
except DistributionNotFound:
    __version__ = "???"

Handle missing distribution on ReadTheDocs
Handle missing distribution on ReadTheDocs
