mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
7b0908a8e4
commit
bab50cb124
5 changed files with 21 additions and 21 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue