diff options
author | PJ Eby <distutils-sig@python.org> | 2006-07-10 21:17:16 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2006-07-10 21:17:16 +0000 |
commit | ece23fd51b6eb14ea4a5853ad1a7f315d76ddcf5 (patch) | |
tree | 50d7c6997b9b40e1e216fafff3a2ee6f9d502868 /setuptools/command/egg_info.py | |
parent | ec2e4eaa16bd6a1ca4e9f142a82b5b29701dd6e3 (diff) | |
download | external_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-x | setuptools/command/egg_info.py | 6 |
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) |