python/lib/generator.py: remove most unstable objects
authorPaul Brossier <piem@piem.org>
Tue, 15 Oct 2013 22:07:46 +0000 (00:07 +0200)
committerPaul Brossier <piem@piem.org>
Tue, 15 Oct 2013 22:07:46 +0000 (00:07 +0200)
python/lib/generator.py

index d93e8ce..07b950c 100755 (executable)
@@ -33,16 +33,31 @@ def generate_object_files(output_path):
 
   generated_objects = []
   cpp_output, cpp_objects = get_cpp_objects()
-  skip_objects = ['fft',
+  skip_objects = [
+      # already in ext/
+      'fft',
       'pvoc',
       'filter',
       'filterbank',
+      #'resampler',
+      # AUBIO_UNSTABLE
+      'hist',
+      'scale',
+      'beattracking',
       'resampler',
       'sndfile',
+      'peakpicker',
+      'pitchfcomb',
+      'pitchmcomb',
+      'pitchschmitt',
+      'pitchyin',
+      'pitchyinfft',
       'sink_apple_audio',
       'sink_sndfile',
       'source_apple_audio',
-      'source_sndfile']
+      'source_sndfile',
+      #'sampler',
+      ]
 
   write_msg("-- INFO: %d objects in total" % len(cpp_objects))
 
@@ -179,7 +194,7 @@ void add_generated_objects ( PyObject *m )
 
   s = """// generated list of objects created with generator.py
 
-#include "Python.h"
+#include <Python.h>
 
 """