Commit 5fc4db72 by Trim21 Committed by finswimmer

use pypi package name in pyproject.toml

read package name from pypi info .info.name
close #2098
parent 56cf6cc7
......@@ -127,7 +127,7 @@ class PyPiRepository(RemoteRepository):
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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment