zuzukin / whl2conda

Generate conda package from pure python wheel
https://zuzukin.github.io/whl2conda/
Apache License 2.0
6 stars 1 forks source link

Direct conversion of packages from pypi #37

Closed analog-cbarber closed 5 months ago

analog-cbarber commented 10 months ago

We support the syntax pypi:<name> for tests cases. We should do something similar to allow direct conversion of packages from pypi, e.g.:

whl2conda "pypi:orix 1.2.3"

or perhaps add an option:

whl2conda --from-pypi "orix 1.2.3"
analog-cbarber commented 5 months ago

We should be able to support other indexes as well. Perhaps the first part can either be a URL or an alias to a server URL defined in pyproject.toml file. We could provide an alias configuration in the [tool.whl2conda] section or support entries from other tools, such as tool.poetry.source