Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Reproducible Builds
diffoscope
Compare revisions
15548cb27de7ba001f6708b09690828857cab967...da5458ee0cd33d8bd8d45969d86572a9dcdc17e6
Commits (2)
Correct logic for supporting different versions of argcomplete.
· 90c51e85
Chris Lamb
authored
Jun 02, 2022
90c51e85
Correctly package diffoscope's scripts/ directory. (Closes:
#305
)
· da5458ee
Chris Lamb
authored
Jun 02, 2022
da5458ee
Hide whitespace changes
Inline
Side-by-side
MANIFEST.in
View file @
da5458ee
...
...
@@ -2,5 +2,4 @@ include COPYING
include README.rst
include CONTRIBUTING.md
include pyproject.toml
graft scripts
graft tests
debian/rules
View file @
da5458ee
...
...
@@ -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
...
...
diffoscope/comparators/vmlinuz.py
View file @
da5458ee
...
...
@@ -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
:
...
...
scripts/extract-vmlinux
→
diffoscope/
scripts/extract-vmlinux
View file @
da5458ee
File moved
setup.py
View file @
da5458ee
...
...
@@ -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
=
{
...
...