Say you've git cloned sunbeam to sunbeam/. Running pip install -e sunbeam/ and then trying from sunbeam import __version__ will fail (which is done in the Snakefile). If you instead install with cd sunbeam/ && pip install . then the above works.
Another interesting thing, with the first option, if you instead run from sunbeam.__init__ import __version__ it works. Way too much weirdness.