aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/__init__.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-12 22:00:43 +0700
committerstepshal <nessento@openmailbox.org>2016-07-13 06:00:42 +0700
commit6d11e88f938f09ef16db4c6064b6e74acba4db1d (patch)
tree18b8d914a2c4fc9f9e00d75a5b30330bb0d1942a /setuptools/__init__.py
parente3e21fd3d608d72ebe1ba2e4d2b3a59fbca76554 (diff)
downloadexternal_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.tar.gz
external_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.tar.bz2
external_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.zip
Fix quantity of blank lines after code object.
Diffstat (limited to 'setuptools/__init__.py')
-rw-r--r--setuptools/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py
index 67b57e4f..2523ccc7 100644
--- a/setuptools/__init__.py
+++ b/setuptools/__init__.py
@@ -32,6 +32,7 @@ lib2to3_fixer_packages = ['lib2to3.fixes']
class PackageFinder(object):
+
@classmethod
def find(cls, where='.', exclude=(), include=('*',)):
"""Return a list all Python packages found within directory 'where'
@@ -108,7 +109,9 @@ class PackageFinder(object):
"""
return lambda name: any(fnmatchcase(name, pat=pat) for pat in patterns)
+
class PEP420PackageFinder(PackageFinder):
+
@staticmethod
def _looks_like_package(path):
return True
@@ -119,6 +122,7 @@ setup = distutils.core.setup
_Command = _get_unpatched(_Command)
+
class Command(_Command):
__doc__ = _Command.__doc__