File: add_installed_dir_paths.patch

package info (click to toggle)
bcbio 1.2.9-4
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 36,792 kB
  • sloc: python: 45,766; sh: 209; makefile: 159; xml: 129
file content (21 lines) | stat: -rw-r--r-- 747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Steffen Möller
Last-Update: 2019-04-14 16:41:16 +0200
Description: Enable finding installed modules at build time test

Index: bcbio/tests/run_tests.sh
===================================================================
--- bcbio.orig/tests/run_tests.sh
+++ bcbio/tests/run_tests.sh
@@ -21,10 +21,12 @@ if [[ ${MARK} == docker* && "`which bcbi
     BCBIO_DIR=$(dirname "$(readlinkf `which bcbio_vm.py`)")
 else
     BCBIO_DIR=$(dirname "$(readlinkf `which bcbio_nextgen.py`)")
+    echo "I: BCBIO_DIR=$BCBIO_DIR"
 fi
 
 unset PYTHONHOME
 unset PYTHONPATH
+export PYTHONPATH=$BCBIO_DIR/debian/bcbio/usr/share/python3
 export PYTHONNOUSERSITE=1
 # Ensure version.py exists in raw cloned bcbio directory
 if [ -d "../bcbio/pipeline" ]; then