py_source_binary must take a source argument and it assumes that source argument is a reference to a python source package directory. It would be nice if we could refactor this out into some kind of an interface such that we could make it take a pypi package (e.g., wheel) or more commonly, a lib package (often Python packages are designed as libraries with a binary entrypoint).
py_source_binary must take a source argument and it assumes that source argument is a reference to a python source package directory. It would be nice if we could refactor this out into some kind of an interface such that we could make it take a pypi package (e.g., wheel) or more commonly, a lib package (often Python packages are designed as libraries with a binary entrypoint).