Changeset 918f71f for interfaces/python


Ignore:
Timestamp:
Jul 16, 2012, 10:01:14 PM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
6fd8d7e
Parents:
577cb49 (diff), b0f2cc5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'develop' into io

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/generator.py

    r577cb49 r918f71f  
    33""" This file generates a c file from a list of cpp prototypes. """
    44
    5 import os, sys
     5import os, sys, shutil
    66from gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish
    77
     
    2929
    3030def generate_object_files():
     31  if os.path.isdir('generated'): shutil.rmtree('generated')
     32  os.mkdir('generated')
    3133
    3234  generated_objects = []
     
    120122
    121123      # generate this_object
    122       if not os.path.isdir('generated'): os.mkdir('generated')
    123124      short_name = object_name[len('aubio_'):]
    124125      if short_name in skip_objects:
Note: See TracChangeset for help on using the changeset viewer.