source: wscript @ dd3b1d5

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchsampler
Last change on this file since dd3b1d5 was dd3b1d5, checked in by Martin Hermant <martin.hermant@gmail.com>, 4 years ago

wscript : fix print with old py2 syntax

  • Property mode set to 100644
File size: 21.8 KB
Line 
1#! /usr/bin/python
2#
3# usage:
4#   $ python waf --help
5#
6# example:
7#   $ ./waf distclean configure build
8#
9# Note: aubio uses the waf build system, which relies on Python. Provided you
10# have Python installed, you do *not* need to install anything to build aubio.
11# For more info about waf, see http://code.google.com/p/waf/ .
12
13import sys
14
15APPNAME = 'aubio'
16
17# source VERSION
18for l in open('VERSION').readlines(): exec (l.strip())
19
20def get_git_revision_hash( short=True):
21    import os
22    def which(program):
23        def is_exe(fpath):
24            return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
25
26        fpath, fname = os.path.split(program)
27        if fpath:
28            if is_exe(program):
29                return program
30        else:
31            for path in os.environ["PATH"].split(os.pathsep):
32                path = path.strip('"')
33                exe_file = os.path.join(path, program)
34                if is_exe(exe_file):
35                    return exe_file
36
37        return None
38       
39    if not which('git'):
40        print('no git found on this system : can\'t get sha')
41        return ""
42
43    import subprocess
44    aubio_dir = os.path.abspath(os.curdir)
45    if not os.path.exists(aubio_dir):
46        raise SystemError("git / root folder not found")
47    gitcmd = ['git','-C',aubio_dir ,'rev-parse']
48    if short:
49      gitcmd.append('--short')
50    gitcmd.append('HEAD')
51    return subprocess.check_output(gitcmd).strip()
52
53AUBIO_GIT_SHA = get_git_revision_hash()
54""" append sha to version in alpha release
55"""
56if '~alpha' in AUBIO_VERSION_STATUS :
57    if AUBIO_GIT_SHA:
58        AUBIO_VERSION_STATUS = '~git'+AUBIO_GIT_SHA
59
60
61
62
63VERSION = '.'.join ([str(x) for x in [
64    AUBIO_MAJOR_VERSION,
65    AUBIO_MINOR_VERSION,
66    AUBIO_PATCH_VERSION
67    ]]) + AUBIO_VERSION_STATUS
68
69LIB_VERSION = '.'.join ([str(x) for x in [
70    LIBAUBIO_LT_CUR,
71    LIBAUBIO_LT_REV,
72    LIBAUBIO_LT_AGE]])
73
74top = '.'
75out = 'build'
76
77def add_option_enable_disable(ctx, name, default = None,
78        help_str = None, help_disable_str = None):
79    if help_str == None:
80        help_str = 'enable ' + name + ' support'
81    if help_disable_str == None:
82        help_disable_str = 'do not ' + help_str
83    ctx.add_option('--enable-' + name, action = 'store_true',
84            default = default,
85            dest = 'enable_' + name.replace('-','_'),
86            help = help_str)
87    ctx.add_option('--disable-' + name, action = 'store_false',
88            #default = default,
89            dest = 'enable_' + name.replace('-','_'),
90            help = help_disable_str )
91
92def options(ctx):
93    ctx.add_option('--build-type', action = 'store',
94            default = "release",
95            choices = ('debug', 'release'),
96            dest = 'build_type',
97            help = 'whether to compile with (--build-type=release) or without (--build-type=debug) '\
98              ' compiler opimizations [default: release]')
99    add_option_enable_disable(ctx, 'fftw3f', default = False,
100            help_str = 'compile with fftw3f instead of ooura (recommended)',
101            help_disable_str = 'do not compile with fftw3f')
102    add_option_enable_disable(ctx, 'fftw3', default = False,
103            help_str = 'compile with fftw3 instead of ooura',
104            help_disable_str = 'do not compile with fftw3')
105    add_option_enable_disable(ctx, 'complex', default = False,
106            help_str ='compile with C99 complex',
107            help_disable_str = 'do not use C99 complex (default)' )
108    add_option_enable_disable(ctx, 'jack', default = None,
109            help_str = 'compile with jack (auto)',
110            help_disable_str = 'disable jack support')
111    add_option_enable_disable(ctx, 'sndfile', default = None,
112            help_str = 'compile with sndfile (auto)',
113            help_disable_str = 'disable sndfile')
114    add_option_enable_disable(ctx, 'avcodec', default = None,
115            help_str = 'compile with libavcodec (auto)',
116            help_disable_str = 'disable libavcodec')
117    add_option_enable_disable(ctx, 'samplerate', default = None,
118            help_str = 'compile with samplerate (auto)',
119            help_disable_str = 'disable samplerate')
120    add_option_enable_disable(ctx, 'memcpy', default = True,
121            help_str = 'use memcpy hacks (default)',
122            help_disable_str = 'do not use memcpy hacks')
123    add_option_enable_disable(ctx, 'double', default = False,
124            help_str = 'compile in double precision mode',
125            help_disable_str = 'compile in single precision mode (default)')
126    add_option_enable_disable(ctx, 'fat', default = False,
127            help_str = 'build fat binaries (darwin only)',
128            help_disable_str = 'do not build fat binaries (default)')
129    add_option_enable_disable(ctx, 'accelerate', default = None,
130            help_str = 'use Accelerate framework (darwin only) (auto)',
131            help_disable_str = 'do not use Accelerate framework')
132    add_option_enable_disable(ctx, 'apple-audio', default = None,
133            help_str = 'use CoreFoundation (darwin only) (auto)',
134            help_disable_str = 'do not use CoreFoundation framework')
135    add_option_enable_disable(ctx, 'atlas', default = False,
136            help_str = 'use Atlas library (no)',
137            help_disable_str = 'do not use Atlas library')
138    add_option_enable_disable(ctx, 'wavread', default = True,
139            help_str = 'compile with source_wavread (default)',
140            help_disable_str = 'do not compile source_wavread')
141    add_option_enable_disable(ctx, 'wavwrite', default = True,
142            help_str = 'compile with source_wavwrite (default)',
143            help_disable_str = 'do not compile source_wavwrite')
144
145    add_option_enable_disable(ctx, 'docs', default = None,
146            help_str = 'build documentation (auto)',
147            help_disable_str = 'do not build documentation')
148
149    ctx.add_option('--with-target-platform', type='string',
150            help='set target platform for cross-compilation', dest='target_platform')
151
152    ctx.load('compiler_c')
153    ctx.load('waf_unit_test')
154    ctx.load('gnu_dirs')
155
156def configure(ctx):
157    from waflib import Options
158    ctx.load('compiler_c')
159    ctx.load('waf_unit_test')
160    ctx.load('gnu_dirs')
161
162    # check for common headers
163    ctx.check(header_name='stdlib.h')
164    ctx.check(header_name='stdio.h')
165    ctx.check(header_name='math.h')
166    ctx.check(header_name='string.h')
167    ctx.check(header_name='limits.h')
168    ctx.check(header_name='stdarg.h')
169    ctx.check(header_name='getopt.h', mandatory = False)
170    ctx.check(header_name='unistd.h', mandatory = False)
171
172    target_platform = sys.platform
173    if ctx.options.target_platform:
174        target_platform = ctx.options.target_platform
175    ctx.env['DEST_OS'] = target_platform
176
177    ctx.define('AUBIO_VERSION',VERSION)
178    ctx.define('AUBIO_MAJOR_VERSION',AUBIO_MAJOR_VERSION)
179    ctx.define('AUBIO_MINOR_VERSION',AUBIO_MINOR_VERSION)
180    ctx.define('AUBIO_PATCH_VERSION',AUBIO_PATCH_VERSION)
181    ctx.define('AUBIO_VERSION_STATUS',AUBIO_VERSION_STATUS)
182    ctx.define('AUBIO_GIT_SHA',AUBIO_GIT_SHA)
183    if ctx.options.build_type == "debug":
184        ctx.define('DEBUG', 1)
185    else:
186        ctx.define('NDEBUG', 1)
187
188    if ctx.env.CC_NAME != 'msvc':
189        if ctx.options.build_type == "debug":
190            # no optimization in debug mode
191            ctx.env.prepend_value('CFLAGS', ['-O0'])
192        else:
193            # default to -O2 in release mode
194            ctx.env.prepend_value('CFLAGS', ['-O2'])
195        # enable debug symbols and configure warnings
196        ctx.env.prepend_value('CFLAGS', ['-g', '-Wall', '-Wextra'])
197    else:
198        # enable debug symbols
199        ctx.env.CFLAGS += ['/Z7', '/FS']
200        ctx.env.LINKFLAGS += ['/DEBUG', '/INCREMENTAL:NO']
201        # configure warnings
202        ctx.env.CFLAGS += ['/W4', '/D_CRT_SECURE_NO_WARNINGS']
203        # set optimization level and runtime libs
204        if (ctx.options.build_type == "release"):
205            ctx.env.CFLAGS += ['/Ox']
206            ctx.env.CFLAGS += ['/MD']
207        else:
208            assert(ctx.options.build_type == "debug")
209            ctx.env.CFLAGS += ['/MDd']
210
211    ctx.check_cc(lib='m', uselib_store='M', mandatory=False)
212
213    if target_platform not in ['win32', 'win64']:
214        ctx.env.CFLAGS += ['-fPIC']
215    else:
216        ctx.define('HAVE_WIN_HACKS', 1)
217        ctx.env['cshlib_PATTERN'] = 'lib%s.dll'
218
219    if target_platform == 'darwin' and ctx.options.enable_fat:
220        ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
221        ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
222        MINSDKVER="10.4"
223        ctx.env.CFLAGS += [ '-mmacosx-version-min=' + MINSDKVER ]
224        ctx.env.LINKFLAGS += [ '-mmacosx-version-min=' + MINSDKVER ]
225
226    if target_platform in [ 'darwin', 'ios', 'iosimulator']:
227        if (ctx.options.enable_apple_audio != False):
228            ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox']
229            ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1)
230            ctx.define('HAVE_SINK_APPLE_AUDIO', 1)
231            ctx.msg('Checking for AudioToolbox.framework', 'yes')
232        else:
233            ctx.msg('Checking for AudioToolbox.framework', 'no (disabled)', color = 'YELLOW')
234        if (ctx.options.enable_accelerate != False):
235            ctx.define('HAVE_ACCELERATE', 1)
236            ctx.env.FRAMEWORK += ['Accelerate']
237            ctx.msg('Checking for Accelerate framework', 'yes')
238        else:
239            ctx.msg('Checking for Accelerate framework', 'no (disabled)', color = 'YELLOW')
240
241    if target_platform in [ 'ios', 'iosimulator' ]:
242        MINSDKVER="6.1"
243        ctx.env.CFLAGS += ['-std=c99']
244        if (ctx.options.enable_apple_audio != False):
245            ctx.define('HAVE_AUDIO_UNIT', 1)
246            #ctx.env.FRAMEWORK += ['CoreFoundation', 'AudioToolbox']
247        if target_platform == 'ios':
248            DEVROOT = "/Applications/Xcode.app/Contents"
249            DEVROOT += "/Developer/Platforms/iPhoneOS.platform/Developer"
250            SDKROOT = "%(DEVROOT)s/SDKs/iPhoneOS.sdk" % locals()
251            ctx.env.CFLAGS += [ '-fembed-bitcode' ]
252            ctx.env.CFLAGS += [ '-arch', 'arm64' ]
253            ctx.env.CFLAGS += [ '-arch', 'armv7' ]
254            ctx.env.CFLAGS += [ '-arch', 'armv7s' ]
255            ctx.env.LINKFLAGS += [ '-arch', 'arm64' ]
256            ctx.env.LINKFLAGS += ['-arch', 'armv7']
257            ctx.env.LINKFLAGS += ['-arch', 'armv7s']
258            ctx.env.CFLAGS += [ '-miphoneos-version-min=' + MINSDKVER ]
259            ctx.env.LINKFLAGS += [ '-miphoneos-version-min=' + MINSDKVER ]
260        else:
261            DEVROOT = "/Applications/Xcode.app/Contents"
262            DEVROOT += "/Developer/Platforms/iPhoneSimulator.platform/Developer"
263            SDKROOT = "%(DEVROOT)s/SDKs/iPhoneSimulator.sdk" % locals()
264            ctx.env.CFLAGS += [ '-arch', 'i386' ]
265            ctx.env.CFLAGS += [ '-arch', 'x86_64' ]
266            ctx.env.LINKFLAGS += ['-arch', 'i386']
267            ctx.env.LINKFLAGS += ['-arch', 'x86_64']
268            ctx.env.CFLAGS += [ '-mios-simulator-version-min=' + MINSDKVER ]
269            ctx.env.LINKFLAGS += [ '-mios-simulator-version-min=' + MINSDKVER ]
270        ctx.env.CFLAGS += [ '-isysroot' , SDKROOT]
271        ctx.env.LINKFLAGS += [ '-isysroot' , SDKROOT]
272
273    if target_platform == 'emscripten':
274        import os.path
275        ctx.env.CFLAGS += [ '-I' + os.path.join(os.environ['EMSCRIPTEN'], 'system', 'include') ]
276        ctx.env.CFLAGS += ['-Oz']
277        ctx.env.cprogram_PATTERN = "%s.js"
278        if (ctx.options.enable_atlas != True):
279            ctx.options.enable_atlas = False
280
281    # check support for C99 __VA_ARGS__ macros
282    check_c99_varargs = '''
283#include <stdio.h>
284#define AUBIO_ERR(...) fprintf(stderr, __VA_ARGS__)
285'''
286
287    if ctx.check_cc(fragment = check_c99_varargs,
288            type='cstlib',
289            msg = 'Checking for C99 __VA_ARGS__ macro',
290            mandatory = False):
291        ctx.define('HAVE_C99_VARARGS_MACROS', 1)
292
293    # show a message about enable_double status
294    if (ctx.options.enable_double == True):
295        ctx.msg('Checking for size of smpl_t', 'double')
296        ctx.msg('Checking for size of lsmp_t', 'long double')
297    else:
298        ctx.msg('Checking for size of smpl_t', 'float')
299        ctx.msg('Checking for size of lsmp_t', 'double')
300
301    # optionally use complex.h
302    if (ctx.options.enable_complex == True):
303        ctx.check(header_name='complex.h')
304    else:
305        ctx.msg('Checking if complex.h is enabled', 'no')
306
307    # check for fftw3
308    if (ctx.options.enable_fftw3 != False or ctx.options.enable_fftw3f != False):
309        # one of fftwf or fftw3f
310        if (ctx.options.enable_fftw3f != False):
311            ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',
312                    args = '--cflags --libs',
313                    mandatory = ctx.options.enable_fftw3f)
314            if (ctx.options.enable_double == True):
315                ctx.msg('Warning',
316                        'fftw3f enabled, but compiling in double precision!')
317        else:
318            # fftw3f disabled, take most sensible one according to
319            # enable_double
320            if (ctx.options.enable_double == True):
321                ctx.check_cfg(package = 'fftw3', atleast_version = '3.0.0',
322                        args = '--cflags --libs', mandatory =
323                        ctx.options.enable_fftw3)
324            else:
325                ctx.check_cfg(package = 'fftw3f', atleast_version = '3.0.0',
326                        args = '--cflags --libs',
327                        mandatory = ctx.options.enable_fftw3)
328        ctx.define('HAVE_FFTW3', 1)
329
330    # fftw not enabled, use vDSP or ooura
331    if 'HAVE_FFTW3F' in ctx.env.define_key:
332        ctx.msg('Checking for FFT implementation', 'fftw3f')
333    elif 'HAVE_FFTW3' in ctx.env.define_key:
334        ctx.msg('Checking for FFT implementation', 'fftw3')
335    elif 'HAVE_ACCELERATE' in ctx.env.define_key:
336        ctx.msg('Checking for FFT implementation', 'vDSP')
337    else:
338        ctx.msg('Checking for FFT implementation', 'ooura')
339
340    # check for libsndfile
341    if (ctx.options.enable_sndfile != False):
342        ctx.check_cfg(package = 'sndfile', atleast_version = '1.0.4',
343                args = '--cflags --libs',
344                mandatory = ctx.options.enable_sndfile)
345
346    # check for libsamplerate
347    if (ctx.options.enable_double):
348        if (ctx.options.enable_samplerate):
349            ctx.fatal("Could not compile aubio in double precision mode with libsamplerate")
350        else:
351            ctx.options.enable_samplerate = False
352            ctx.msg('Checking if using samplerate', 'no (disabled in double precision mode)',
353                    color = 'YELLOW')
354    if (ctx.options.enable_samplerate != False):
355        ctx.check_cfg(package = 'samplerate', atleast_version = '0.0.15',
356                args = '--cflags --libs',
357                mandatory = ctx.options.enable_samplerate)
358
359    # check for jack
360    if (ctx.options.enable_jack != False):
361        ctx.check_cfg(package = 'jack',
362                args = '--cflags --libs',
363                mandatory = ctx.options.enable_jack)
364
365    # check for libav
366    if (ctx.options.enable_avcodec != False):
367        ctx.check_cfg(package = 'libavcodec', atleast_version = '54.35.0',
368                args = '--cflags --libs', uselib_store = 'AVCODEC',
369                mandatory = ctx.options.enable_avcodec)
370        ctx.check_cfg(package = 'libavformat', atleast_version = '52.3.0',
371                args = '--cflags --libs', uselib_store = 'AVFORMAT',
372                mandatory = ctx.options.enable_avcodec)
373        ctx.check_cfg(package = 'libavutil', atleast_version = '52.3.0',
374                args = '--cflags --libs', uselib_store = 'AVUTIL',
375                mandatory = ctx.options.enable_avcodec)
376        ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1',
377                args = '--cflags --libs', uselib_store = 'AVRESAMPLE',
378                mandatory = ctx.options.enable_avcodec)
379        if all ( 'HAVE_' + i in ctx.env
380                for i in ['AVCODEC', 'AVFORMAT', 'AVUTIL', 'AVRESAMPLE'] ):
381            ctx.define('HAVE_LIBAV', 1)
382            ctx.msg('Checking for all libav libraries', 'yes')
383        else:
384            ctx.msg('Checking for all libav libraries', 'not found', color = 'YELLOW')
385
386    if (ctx.options.enable_wavread != False):
387        ctx.define('HAVE_WAVREAD', 1)
388    ctx.msg('Checking if using source_wavread', ctx.options.enable_wavread and 'yes' or 'no')
389    if (ctx.options.enable_wavwrite!= False):
390        ctx.define('HAVE_WAVWRITE', 1)
391    ctx.msg('Checking if using sink_wavwrite', ctx.options.enable_wavwrite and 'yes' or 'no')
392
393    # use ATLAS
394    if (ctx.options.enable_atlas != False):
395        ctx.check(header_name = 'atlas/cblas.h', mandatory = ctx.options.enable_atlas)
396        #ctx.check(lib = 'lapack', uselib_store = 'LAPACK', mandatory = ctx.options.enable_atlas)
397        ctx.check(lib = 'cblas', uselib_store = 'BLAS', mandatory = ctx.options.enable_atlas)
398
399    # use memcpy hacks
400    if (ctx.options.enable_memcpy == True):
401        ctx.define('HAVE_MEMCPY_HACKS', 1)
402
403    # write configuration header
404    ctx.write_config_header('src/config.h')
405
406    # the following defines will be passed as arguments to the compiler
407    # instead of being written to src/config.h
408    ctx.define('HAVE_CONFIG_H', 1)
409
410    # add some defines used in examples
411    ctx.define('AUBIO_PREFIX', ctx.env['PREFIX'])
412    ctx.define('PACKAGE', APPNAME)
413
414    # double precision mode
415    if (ctx.options.enable_double == True):
416        ctx.define('HAVE_AUBIO_DOUBLE', 1)
417
418    if (ctx.options.enable_docs != False):
419        # check if txt2man is installed, optional
420        try:
421          ctx.find_program('txt2man', var='TXT2MAN')
422        except ctx.errors.ConfigurationError:
423          ctx.to_log('txt2man was not found (ignoring)')
424
425        # check if doxygen is installed, optional
426        try:
427          ctx.find_program('doxygen', var='DOXYGEN')
428        except ctx.errors.ConfigurationError:
429          ctx.to_log('doxygen was not found (ignoring)')
430
431        # check if sphinx-build is installed, optional
432        try:
433          ctx.find_program('sphinx-build', var='SPHINX')
434        except ctx.errors.ConfigurationError:
435          ctx.to_log('sphinx-build was not found (ignoring)')
436
437def build(bld):
438    bld.env['VERSION'] = VERSION
439    bld.env['LIB_VERSION'] = LIB_VERSION
440
441    # main source
442    bld.recurse('src')
443
444    # add sub directories
445    if bld.env['DEST_OS'] not in ['ios', 'iosimulator', 'android']:
446        bld.recurse('examples')
447        bld.recurse('tests')
448
449    # pkg-config template
450    bld( source = 'aubio.pc.in' )
451
452    # documentation
453    txt2man(bld)
454    doxygen(bld)
455    sphinx(bld)
456
457def txt2man(bld):
458    # build manpages from txt files using txt2man
459    if bld.env['TXT2MAN']:
460        from waflib import TaskGen
461        if 'MANDIR' not in bld.env:
462            bld.env['MANDIR'] = bld.env['DATAROOTDIR'] + '/man'
463        bld.env.VERSION = VERSION
464        rule_str = '${TXT2MAN} -t `basename ${TGT} | cut -f 1 -d . | tr a-z A-Z`'
465        rule_str += ' -r ${PACKAGE}\\ ${VERSION} -P ${PACKAGE}'
466        rule_str += ' -v ${PACKAGE}\\ User\\\'s\\ manual'
467        rule_str += ' -s 1 ${SRC} > ${TGT}'
468        TaskGen.declare_chain(
469                name      = 'txt2man',
470                rule      = rule_str,
471                ext_in    = '.txt',
472                ext_out   = '.1',
473                reentrant = False,
474                install_path =  '${MANDIR}/man1',
475                )
476        bld( source = bld.path.ant_glob('doc/*.txt') )
477
478def doxygen(bld):
479    # build documentation from source files using doxygen
480    if bld.env['DOXYGEN']:
481        bld( name = 'doxygen', rule = 'doxygen ${SRC} > /dev/null',
482                source = 'doc/web.cfg',
483                target = '../doc/web/html/index.html',
484                cwd = 'doc')
485        bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc',
486                bld.path.ant_glob('doc/web/html/**'),
487                cwd = bld.path.find_dir ('doc/web'),
488                relative_trick = True)
489
490def sphinx(bld):
491    # build documentation from source files using sphinx-build
492    # note: build in ../doc/_build/html, otherwise waf wont install unsigned files
493    if bld.env['SPHINX']:
494        bld.env.VERSION = VERSION
495        bld( name = 'sphinx',
496                rule = '${SPHINX} -b html -D release=${VERSION} -D version=${VERSION} -a -q `dirname ${SRC}` `dirname ${TGT}`',
497                source = 'doc/conf.py',
498                target = '../doc/_build/html/index.html')
499        bld.install_files( '${DATAROOTDIR}' + '/doc/libaubio-doc/sphinx',
500                bld.path.ant_glob('doc/_build/html/**'),
501                cwd = bld.path.find_dir('doc/_build/html'),
502                relative_trick = True)
503
504# register the previous rules as build rules
505from waflib.Build import BuildContext
506
507class build_txt2man(BuildContext):
508    cmd = 'txt2man'
509    fun = 'txt2man'
510
511class build_manpages(BuildContext):
512    cmd = 'manpages'
513    fun = 'txt2man'
514
515class build_sphinx(BuildContext):
516    cmd = 'sphinx'
517    fun = 'sphinx'
518
519class build_doxygen(BuildContext):
520    cmd = 'doxygen'
521    fun = 'doxygen'
522
523def shutdown(bld):
524    from waflib import Logs
525    if bld.options.target_platform in ['ios', 'iosimulator']:
526        msg ='building for %s, contact the author for a commercial license' % bld.options.target_platform
527        Logs.pprint('RED', msg)
528        msg ='   Paul Brossier <piem@aubio.org>'
529        Logs.pprint('RED', msg)
530
531def dist(ctx):
532    ctx.excl  = ' **/.waf* **/*~ **/*.pyc **/*.swp **/*.swo **/*.swn **/.lock-w* **/.git*'
533    ctx.excl += ' **/build/*'
534    ctx.excl += ' doc/_build'
535    ctx.excl += ' python/demos_*'
536    ctx.excl += ' **/python/gen **/python/build **/python/dist'
537    ctx.excl += ' **/python/ext/config.h'
538    ctx.excl += ' **/python/lib/aubio/_aubio.so'
539    ctx.excl += ' **.egg-info'
540    ctx.excl += ' **/**.zip **/**.tar.bz2'
541    ctx.excl += ' **.tar.bz2'
542    ctx.excl += ' **/doc/full/* **/doc/web/*'
543    ctx.excl += ' **/doc/full.cfg'
544    ctx.excl += ' **/python/*.db'
545    ctx.excl += ' **/python.old/*'
546    ctx.excl += ' **/python/*/*.old'
547    ctx.excl += ' **/python/tests/sounds'
548    ctx.excl += ' **/**.asc'
549    ctx.excl += ' **/dist*'
550    ctx.excl += ' **/.DS_Store'
551    ctx.excl += ' **/.travis.yml'
552    ctx.excl += ' **/.landscape.yml'
553    ctx.excl += ' **/.appveyor.yml'
Note: See TracBrowser for help on using the repository browser.