Skip to content

Commit d4ce9c8

Browse files
committed
debian/rules - cleanup artifacts from running tests at build time
1 parent 2955dce commit d4ce9c8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

debian/changelog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
heudiconv (0.6.0-1) unstable; urgency=medium
22

33
* Fresh upstream release, upload to unstable
4+
* debian/rules
5+
- cleanup artifacts from running tests at build time
46

57
-- Yaroslav Halchenko <[email protected]> Thu, 05 Dec 2019 21:18:16 -0500
68

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ override_dh_auto_install:
3333
-N --no-discard-stderr \
3434
./debian/heudiconv/usr/bin/heudiconv >| build/heudiconv.1
3535
find debian -iname *.pyc -delete
36+
# https://github.com/nipy/heudiconv/issues/399
37+
rm -rf debian/heudiconv/usr/lib/python*/*-packages/Research
38+
find debian -name __pycache__ | xargs rm -rf
39+
3640

3741
clean::
3842
dh_clean

0 commit comments

Comments
 (0)