From cb89e51eaf7b7857d1f849fcb539a26ad51e9126 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 10 May 2016 20:07:21 +0200 Subject: [PATCH] python/lib/moresetuptools.py: simplify imports --- python/lib/moresetuptools.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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): -- 2.11.0