Commits (2)
......@@ -2,5 +2,4 @@ include COPYING
include README.rst
include CONTRIBUTING.md
include pyproject.toml
graft scripts
graft tests
......@@ -38,7 +38,7 @@ doc/%.1:
$(MAKE) -C doc $*.1
debian/diffoscope-minimal.bash-completion:
register-python-argcomplete diffoscope || register-python-argcomplete3 diffoscope > $@
(register-python-argcomplete diffoscope || register-python-argcomplete3 diffoscope) > $@
execute_after_dh_auto_build: debian/diffoscope-minimal.bash-completion
dh_auto_build -O--buildsystem=makefile -Ddoc
......
......@@ -46,7 +46,7 @@ class VmlinuzContainer(Archive):
logger.debug("extracting vmlinuz to %s", dest_path)
# Locate extract-vmlinux script
script = pathlib.Path(__file__).parent.parent.parent.joinpath(
script = pathlib.Path(__file__).parent.parent.joinpath(
"scripts", "extract-vmlinux"
)
with open(dest_path, "wb") as f:
......
......@@ -45,6 +45,8 @@ setup(
license="GPL-3+",
url="https://diffoscope.org/",
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={"diffoscope": ["scripts/*"]},
include_package_data=True,
tests_require=["pytest"],
cmdclass={"test": PyTest},
entry_points={
......