diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-04 19:09:42 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-04 19:09:42 -0400 |
| commit | d6efc9424328b42a3c7aeae758bab35bc7df5014 (patch) | |
| tree | ef9071de6b6694904b7e3247bb03ac123cd5a0e5 /setuptools/__init__.py | |
| parent | 64b10c60755b6c7d70d178aeb7ff79ae9daf56bd (diff) | |
| download | python-setuptools-git-d6efc9424328b42a3c7aeae758bab35bc7df5014.tar.gz | |
Introduce a new monkey module to encapsulate the monkeypatching.
Diffstat (limited to 'setuptools/__init__.py')
| -rw-r--r-- | setuptools/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 2ca97103..4038ee83 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -5,7 +5,6 @@ import sys import functools import distutils.core import distutils.filelist -from distutils.core import Command as _Command from distutils.util import convert_path from fnmatch import fnmatchcase @@ -13,7 +12,8 @@ from setuptools.extern.six.moves import filterfalse, map import setuptools.version from setuptools.extension import Extension -from setuptools.dist import Distribution, Feature, _get_unpatched +from setuptools.dist import Distribution, Feature +from setuptools.monkey import _get_unpatched from setuptools.depends import Require __all__ = [ @@ -122,7 +122,7 @@ find_packages = PackageFinder.find setup = distutils.core.setup -_Command = _get_unpatched(_Command) +_Command = _get_unpatched(distutils.core.Command) class Command(_Command): |
