Help running tests in python-biom-format
Hi,
since alioth is down I copied my current status of packaging of
python-biom-format here:
http://blends.debian.net/tmp/packages/python-biom-format/
I tried to activate tests via
override_dh_auto_test:
cd python-code/; nosetests
but this results in
cd python-code/; nosetests
....................................................................................................................................E.............................................................................
======================================================================
ERROR: Failure: ImportError (No module named _sparsemat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 413, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/tmp/buildd/python-biom-format-1.2.0/python-code/tests/test_sparsemat.py", line 3, in <module>
from biom._sparsemat import PySparseMatFloat, PySparseMatInt
ImportError: No module named _sparsemat
----------------------------------------------------------------------
Ran 318 tests in 0.580s
The problem is that this test also fails if the package is installed
so it is not actually a Build time issue. I wonder why
/usr/lib/pyshared/python2.7/biom/_sparsemat.so
inside the package is not properly found.
Any ideas?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: