Specify data files to ship explicitly and set include_package_data to
False so it doesn't pick up random cruft that happens to be in the work
tree.
Signed-off-by: Nils Philippsen <nils@redhat.com>
In the course, clean up how execution errors are processed, i.e. use
exceptions rather than integer return codes to indicate errors.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This allows as to have different functionality, e.g. handling
configuration, in their own separate modules.
Use relative imports for project-internal modules and remove shebangs
from them as they're not marked executable anyway. Instead, add
run-distgit-bugzilla-sync for testing from the repo worktree.
Signed-off-by: Nils Philippsen <nils@redhat.com>