Changeset b0f2cc5 for interfaces/python
- Timestamp:
- Jul 16, 2012, 10:01:04 PM (12 years ago)
- 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:
- 918f71f, 97514e2
- Parents:
- f41957d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
interfaces/python/generator.py
rf41957d rb0f2cc5 3 3 """ This file generates a c file from a list of cpp prototypes. """ 4 4 5 import os, sys 5 import os, sys, shutil 6 6 from gen_pyobject import write_msg, gen_new_init, gen_do, gen_members, gen_methods, gen_finish 7 7 … … 29 29 30 30 def generate_object_files(): 31 if os.path.isdir('generated'): shutil.rmtree('generated') 32 os.mkdir('generated') 31 33 32 34 generated_objects = [] … … 110 112 111 113 # generate this_object 112 if not os.path.isdir('generated'): os.mkdir('generated')113 114 short_name = object_name[len('aubio_'):] 114 115 if short_name in skip_objects:
Note: See TracChangeset
for help on using the changeset viewer.