Minor packaging cleanup.

- Use shortcut dist.version instead of going through metadata;
- Use %r throughout to display project names and paths.
This commit is contained in:
Éric Araujo 2011-07-29 02:37:21 +02:00
parent 7b0908a8e4
commit bab50cb124
5 changed files with 21 additions and 21 deletions

View file

@ -351,7 +351,7 @@ class EggInfoDistribution:
except IOError:
requires = None
self.metadata = Metadata(path=path)
self.name = self.metadata['name']
self.name = self.metadata['Name']
self.version = self.metadata['Version']
else: