Changeset 4093c0c for python/lib


Ignore:
Timestamp:
Nov 28, 2016, 6:12:37 PM (7 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, sampler, yinfft+
Children:
d98f3c0
Parents:
9ad0dcc
Message:

python/lib/moresetuptools.py: cleaner clean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/moresetuptools.py

    r9ad0dcc r4093c0c  
    125125class CleanGenerated(distutils.command.clean.clean):
    126126    def run(self):
    127         distutils.dir_util.remove_tree(output_path)
     127        if os.path.isdir(output_path):
     128            distutils.dir_util.remove_tree(output_path)
     129        config = os.path.join('python', 'ext', 'config.h')
    128130        distutils.command.clean.clean.run(self)
    129131
Note: See TracChangeset for help on using the changeset viewer.