Skip to content

Commit

Permalink
use pypi package name in pyproject.toml
Browse files Browse the repository at this point in the history
read package name from pypi info .info.name
close #2098
  • Loading branch information
trim21 authored and finswimmer committed Aug 16, 2020
1 parent 56cf6cc commit 5fc4db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/repositories/pypi_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def find_packages(
continue

try:
package = Package(name, version)
package = Package(info["info"]["name"], version)
except ParseVersionError:
self._log(
'Unable to parse version "{}" for the {} package, skipping'.format(
Expand Down

0 comments on commit 5fc4db7

Please sign in to comment.