aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/sdist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-02-05 18:57:02 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-02-05 18:57:02 -0500
commitd505855a1a59213b8a02d50870305c62c52d8399 (patch)
tree6fa07a60ee9ba460cfce102954b2d3df6888d500 /setuptools/command/sdist.py
parentb4ba33898f4d67af70319a0bb64edca72fc3ecee (diff)
downloadexternal_python_setuptools-d505855a1a59213b8a02d50870305c62c52d8399.tar.gz
external_python_setuptools-d505855a1a59213b8a02d50870305c62c52d8399.tar.bz2
external_python_setuptools-d505855a1a59213b8a02d50870305c62c52d8399.zip
Implement self.find. Fixes #139.
--HG-- extra : amend_source : 98be824b4f846eb5fa8a8b046c3ef52a9fc2af4d
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-xsetuptools/command/sdist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index e1112ff9..1bd07e65 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -38,7 +38,7 @@ class re_finder(object):
path = postproc(path)
yield svn_utils.joinpath(dirname,path)
- def __call__(self, dirname=''):
+ def find(self, dirname=''):
path = svn_utils.joinpath(dirname, self.path)
if os.path.isfile(path):
@@ -48,6 +48,7 @@ class re_finder(object):
elif os.path.isdir(path):
for item in self.find(path):
yield item
+ __call__ = find
def _default_revctrl(dirname=''):