aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-07-10 21:17:16 +0000
committerPJ Eby <distutils-sig@python.org>2006-07-10 21:17:16 +0000
commitece23fd51b6eb14ea4a5853ad1a7f315d76ddcf5 (patch)
tree50d7c6997b9b40e1e216fafff3a2ee6f9d502868 /setuptools/command/egg_info.py
parentec2e4eaa16bd6a1ca4e9f142a82b5b29701dd6e3 (diff)
downloadexternal_python_setuptools-ece23fd51b6eb14ea4a5853ad1a7f315d76ddcf5.tar.gz
external_python_setuptools-ece23fd51b6eb14ea4a5853ad1a7f315d76ddcf5.tar.bz2
external_python_setuptools-ece23fd51b6eb14ea4a5853ad1a7f315d76ddcf5.zip
Fixed redundant warnings about missing ``README`` file(s); it should now
appear only if you are actually a source distribution. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050544
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 8c2eb763..39b05866 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -281,9 +281,9 @@ class manifest_maker(sdist):
self.execute(file_util.write_file, (self.manifest, files),
"writing manifest file '%s'" % self.manifest)
-
-
-
+ def warn(self, msg): # suppress missing-file warnings from sdist
+ if not msg.startswith("standard file not found:"):
+ sdist.warn(self, msg)
def add_defaults(self):
sdist.add_defaults(self)