try:
	import pkg_resources
	__version__ = pkg_resources.get_distribution('cheroot').version
except ImportError:
	__version__ = 'unknown'

try:
	import pkg_resources
	__version__ = pkg_resources.get_distribution('cheroot').version
except (ImportError, pkg_resources.DistributionNotFound):
	__version__ = 'unknown'

Handle DistributionNotFound when getting version
Handle DistributionNotFound when getting version

When frozen with e.g. cx_Freeze, cheroot will be importable, but not discoverable by pkg_resources.