Bug#657789: python-tables: Enable bzip2 and lzo compressors
Picca Frédéric-Emmanuel
picca at synchrotron-soleil.fr
Sun Jan 29 09:33:43 UTC 2012
Package: python-tables
Version: 2.3.1-1
Followup-For: Bug #657789
Hello,
I saw your proposed patch.
+import platform
+
+ # Using ``setuptools`` enables lots of goodies, such as building eggs.
+ if 'FORCE_SETUPTOOLS' in os.environ:
+@@ -127,8 +128,14 @@
+ add_from_flags("LDFLAGS", "-L", default_library_dirs)
it seems that the upstream can add path provided from the LDFLAGS, so the best
thinks to do is to
use the multiarch [1] instead of patching the code.
+ default_library_dirs.extend(
+ os.path.join(_tree, _arch)
+- for _tree in ('/', '/usr', '/usr/local')
+- for _arch in ('lib64', 'lib') )
++ for _tree in ('/', '/usr', '/usr/local')
++ for _arch in ('lib64', 'lib')
++ )
++ machine = platform.machine()
++ default_library_dirs.extend(
++ os.path.join(_tree, "lib", "%s-linux-gnu" % machine)
on debian we also have freebsd/hurd not only linux ;)
++ for _tree in ('/', '/usr', '/usr/local')
++ )
+ default_runtime_dirs = default_library_dirs
+
+ elif os.name == 'nt':
[1] http://wiki.debian.org/Multiarch/Implementation
have a good day :)
Frederic
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-1-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-tables depends on:
ii libc6 2.13-24
ii libhdf5-7 [libhdf5-7] 1.8.8-5
ii python 2.7.2-10
ii python-numexpr 1.4.2-1.2
ii python-numpy 1:1.5.1-3
ii python2.6 2.6.7-4
ii python2.7 2.7.2-13
python-tables recommends no packages.
Versions of packages python-tables suggests:
pn python-netcdf <none>
pn python-tables-doc <none>
-- no debconf information
More information about the debian-science-maintainers
mailing list