from setuptools_scm import get_version

__version__ = get_version(version_scheme='post-release')

from setuptools_scm import get_version
import pkg_resources

try:
    __version__ = get_version(version_scheme='post-release')
except LookupError:
    __version__ = pkg_resources.get_distribution('todoman').version

Fix determining version outside a git repository
Fix determining version outside a git repository
