wscript: also exclude dist/
[vamp-aubio-plugins.git] / wscript
diff --git a/wscript b/wscript
index 3e99992..b5efb7d 100644 (file)
--- a/wscript
+++ b/wscript
@@ -4,6 +4,16 @@
 
 import sys, os, platform
 
+APPNAME = 'vamp-aubio-plugins'
+
+for l in open('VERSION').readlines(): exec (l.strip())
+
+VERSION = '.'.join ([str(x) for x in [
+    VAMP_AUBIO_MAJOR_VERSION,
+    VAMP_AUBIO_MINOR_VERSION,
+    VAMP_AUBIO_PATCH_VERSION
+    ]]) + VAMP_AUBIO_VERSION_STATUS
+
 local_aubio_include  = 'contrib/aubio-dist/include'
 local_aubio_lib      = 'contrib/aubio/build/src'
 local_vamp_include   = 'contrib/vamp-plugin-sdk-2.6'
@@ -37,7 +47,6 @@ def configure(conf):
             local_vamp_lib = local_vamp_lib_amd64
         elif platform.machine() == 'x86_64':
             local_vamp_lib = local_vamp_lib_i686
-        conf.check(lib='cblas', uselib_store='CBLAS', mandatory=False)
     elif sys.platform == 'darwin':
         local_vamp_lib = local_vamp_lib_osx
     elif sys.platform == 'win32':
@@ -131,5 +140,6 @@ def dist(ctx):
     ctx.excl += ' **/**.tar.bz2'
     ctx.excl += ' contrib/**'
     ctx.excl += ' build/**'
+    ctx.excl += ' dist/**'
     ctx.excl += ' **/.travis.yml'
     ctx.excl += ' **/.appveyor.yml'