import pkg_resources
__version__ = pkg_resources.require('hgvs')[0].version

import pkg_resources
__version__ = pkg_resources.get_distribution('hgvs').version

use get_distribution() rather than require() to fetch version