use regex to parse __version__ so package isn't imported