Other details:
Issue
When publishing to a private repository, poetry still outputs publishing <file> to PyPI.
I traced it to this code, which puzzles me a bit. It seems it will always output PyPI
|
self._io.write_line( |
|
"Publishing <c1>{}</c1> (<c2>{}</c2>) " |
|
"to <info>{}</info>".format( |
|
self._package.pretty_name, |
|
self._package.pretty_version, |
|
{"pypi": "PyPI"}.get(repository_name, "PyPI"), |
|
) |
|
) |
Is there something I'm missing here? Should it just be {"pypi": "PyPI"}.get(repository_name, repository_name) instead? If so, I'd be happy to make a PR.
-vvvoption).Other details:
Issue
When publishing to a private repository, poetry still outputs
publishing <file> to PyPI.I traced it to this code, which puzzles me a bit. It seems it will always output
PyPIpoetry/poetry/publishing/publisher.py
Lines 84 to 91 in 02d4d0c
Is there something I'm missing here? Should it just be
{"pypi": "PyPI"}.get(repository_name, repository_name)instead? If so, I'd be happy to make a PR.