Changeset 1167631 for python/lib/moresetuptools.py
- Timestamp:
- May 13, 2016, 6:50:20 PM (9 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:
- 2e324f5
- Parents:
- c09efca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/moresetuptools.py
rc09efca r1167631 1 1 import distutils, distutils.command.clean, distutils.dir_util 2 from .gen_external import generate_external, header, output_path 2 3 3 4 class CleanGenerated(distutils.command.clean.clean): 4 5 def run(self): 5 distutils.dir_util.remove_tree( 'gen')6 distutils.dir_util.remove_tree(output_path) 6 7 distutils.command.clean.clean.run(self) 7 8 … … 24 25 def run(self): 25 26 self.announce( 'Generating code', level=distutils.log.INFO) 26 from .gen_external import generate_external 27 generated_object_files = generate_external('gen', usedouble = self.enable_double) 27 generated_object_files = generate_external(header, output_path, usedouble = self.enable_double)
Note: See TracChangeset
for help on using the changeset viewer.