Skip to content
Snippets Groups Projects
Commit da5458ee authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Correctly package diffoscope's scripts/ directory. (Closes: #305)

parent 90c51e85
No related branches found
No related tags found
No related merge requests found
Pipeline #385137 failed
......@@ -2,5 +2,4 @@ include COPYING
include README.rst
include CONTRIBUTING.md
include pyproject.toml
graft scripts
graft tests
......@@ -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:
......
File moved
......@@ -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={
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment