Changes in / [918f71f:577cb49]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/generator.py

    r918f71f r577cb49  
    33""" This file generates a c file from a list of cpp prototypes. """
    44
    5 import os, sys, shutil
     5import os, sys
    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')
    3331
    3432  generated_objects = []
     
    122120
    123121      # generate this_object
     122      if not os.path.isdir('generated'): os.mkdir('generated')
    124123      short_name = object_name[len('aubio_'):]
    125124      if short_name in skip_objects:
Note: See TracChangeset for help on using the changeset viewer.