summaryrefslogtreecommitdiff
path: root/distutils2/command/bdist_dumb.py
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2011-11-20 18:51:32 +0100
committer?ric Araujo <merwok@netwok.org>2011-11-20 18:51:32 +0100
commit47c9f06f2d34971a1c554c0020dc603c3ce3aaa1 (patch)
treeb92073d5c13c25c9135ce940e1c4074286e55530 /distutils2/command/bdist_dumb.py
parent6eacd6a2a4aefec9563cd2c6ad689c112d9d3ecb (diff)
downloaddisutils2-47c9f06f2d34971a1c554c0020dc603c3ce3aaa1.tar.gz
Remove usage of stdlib shutil.
This should help avoiding issues like #13170. Because of implicit relative imports, _backport.tarfile already imported shutil from the backports instead of the stdlib; I have inlined the only function it needed to remove the circular dependency between these modules.
Diffstat (limited to 'distutils2/command/bdist_dumb.py')
-rw-r--r--distutils2/command/bdist_dumb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils2/command/bdist_dumb.py b/distutils2/command/bdist_dumb.py
index dfe80b9..efc6330 100644
--- a/distutils2/command/bdist_dumb.py
+++ b/distutils2/command/bdist_dumb.py
@@ -5,12 +5,12 @@ sys.prefix or sys.exec_prefix.
"""
import os
-from shutil import rmtree
from distutils2.util import get_platform
from distutils2.command.cmd import Command
from distutils2.errors import PackagingPlatformError
from distutils2 import logger
+from distutils2._backport.shutil import rmtree
from distutils2._backport.sysconfig import get_python_version