Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Fix some installation issues
· b47226ad
Andreas Tille
authored
Jul 17, 2018
b47226ad
Allow pilon-non-free as alternative
· bbc12f16
Andreas Tille
authored
Jul 17, 2018
bbc12f16
Hide whitespace changes
Inline
Side-by-side
debian/control
View file @
bbc12f16
...
...
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 11~),
bowtie2,
freebayes,
ncbi-blast+,
pilon,
pilon
| pilon-non-free
,
racon,
samtools,
spades,
...
...
debian/rules
View file @
bbc12f16
...
...
@@ -17,11 +17,14 @@ override_dh_auto_clean:
find . -name "*.o" -delete
find . -name "*.so" -delete
find . -name __pycache__ -type d | xargs rm -rf
rm -rf .pybuild unicycler.egg-info
override_dh_auto_build:
dh_auto_build
# building the dynamic library requires extra make call
make
# for some reason it also needs to be manually moved
cp -a unicycler/cpp_functions.so `dirname $$(find .pybuild -name cpp_wrappers.py)`
override_dh_auto_test:
BUILDPATH=$(shell pybuild --print build_dir --interpreter python3) ; \
...
...
@@ -29,3 +32,8 @@ override_dh_auto_test:
ln -s $(CURDIR)/unicycler-runner.py $${BUILDPATH} ; \
cp -a unicycler/*.so $${BUILDPATH}/$(PYBUILD_NAME) ; \
PYTHONPATH=$${BUILDPATH}/$(PYBUILD_NAME) dh_auto_test || true
override_dh_link:
dh_link
# symlink versioned shared lib to make it found
ln -s `basename $$(find debian -name "cpp_functions*.so")` `dirname $$(find debian -name "cpp_functions*.so")`/cpp_functions.so