~ubuntu-branches/ubuntu/quantal/pytables/quantal

« back to all changes in this revision

Viewing changes to tables/utilsExtension.pyx

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2012-02-22 20:02:57 UTC
  • Revision ID: package-import@ubuntu.com-20120222200257-et1xgv12we3ch3eo
Tags: 2.3.1-2ubuntu2
* fix_library_detection.patch:
  fix detection of multiarched libraries, reenables bzip and lzo compression
* disable_blosc.patch:
  disable blosc compressor on arm, not functional due to unaligned memory
  accesses
* make testsuite output verbose

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
import sys
16
16
import warnings
 
17
import platform
17
18
 
18
19
try:
19
20
  import zlib
376
377
      (bzip2_version_string, bzip2_version_date) = bzip2_version
377
378
      return (bzip2_version, bzip2_version_string, bzip2_version_date)
378
379
  elif strcmp(name, "blosc") == 0:
379
 
    return (blosc_version, blosc_version_string, blosc_version_date)
 
380
    if "arm" not in platform.machine().lower():
 
381
      return (blosc_version, blosc_version_string, blosc_version_date)
380
382
  else:
381
383
    raise ValueError("""\
382
384
asked version of unsupported library ``%s``; \