projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abfbb0
)
[python] also add hd5 when building standolone python external
author
Paul Brossier
<piem@piem.org>
Tue, 8 Jan 2019 15:00:56 +0000
(16:00 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 8 Jan 2019 15:00:56 +0000
(16:00 +0100)
python/lib/moresetuptools.py
patch
|
blob
|
history
diff --git
a/python/lib/moresetuptools.py
b/python/lib/moresetuptools.py
index
299d1f9
..
0e03fbd
100644
(file)
--- a/
python/lib/moresetuptools.py
+++ b/
python/lib/moresetuptools.py
@@
-79,6
+79,7
@@
def add_external_deps(ext, usedouble = False):
packages = ['libavcodec', 'libavformat', 'libavutil',
'libswresample', 'libavresample',
'sndfile',
+ 'hdf5',
#'fftw3f',
]
# samplerate only works with float
@@
-103,6
+104,9
@@
def add_external_deps(ext, usedouble = False):
if 'fftw3f' in ext.libraries:
ext.define_macros += [('HAVE_FFTW3F', 1)]
ext.define_macros += [('HAVE_FFTW3', 1)]
+ if 'hdf5' in ext.libraries:
+ ext.libraries += ['hdf5_hl']
+ ext.define_macros += [('HAVE_HDF5', 1)]
# add accelerate on darwin
if sys.platform.startswith('darwin'):