zuzukin / whl2conda

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

Handle extra dependencies from square bracket syntax #36

Open analog-cbarber opened 10 months ago

analog-cbarber commented 10 months ago

Handle dependencies of the form name[extra,...] in wheels.

For each extra download the package from pypi and add the specified extra dependencies prior to renaming. Repeat this if any new extra dependencies appear.

analog-cbarber commented 5 months ago

Note that if we download the target package, then we will be choosing extra dependencies from a specific version of that package, which might not work in all cases.

Some target packages that have conda packages also have corresponding conda packages for the extras but I don't think there is an automated way to detect that.