From: Paul Brossier Date: Tue, 10 May 2016 18:07:21 +0000 (+0200) Subject: python/lib/moresetuptools.py: simplify imports X-Git-Tag: 0.4.4~300^2~99 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=cb89e51eaf7b7857d1f849fcb539a26ad51e9126;p=aubio.git python/lib/moresetuptools.py: simplify imports --- diff --git a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py index aff02f74..7966606e 100644 --- a/python/lib/moresetuptools.py +++ b/python/lib/moresetuptools.py @@ -1,11 +1,8 @@ -import distutils, os, subprocess -import setuptools.command.build_py -import distutils.command.clean -from distutils.dir_util import remove_tree +import distutils, distutils.command.clean, distutils.dir_util class CleanGenerated(distutils.command.clean.clean): def run(self): - remove_tree('gen') + distutils.dir_util.remove_tree('gen') distutils.command.clean.clean.run(self) class GenerateCommand(distutils.cmd.Command):