The underscore variables are alternative methods with the same API, implemented using the different EXIF libraries. For the tool to work I just need one of the two modules to be available, which one doesn't matter.
I hope I've just been using the wrong search terms, but "alternative dependencies in pyproject.toml" and similar didn't yield any results. :sweat_smile:
Is it possible to specify alternative dependencies in
pyproject.toml
? As in, "this package requires any of these N packages".Practical example for what I'm trying to do, from a tool that extracts EXIF data from photos:
The underscore variables are alternative methods with the same API, implemented using the different EXIF libraries. For the tool to work I just need one of the two modules to be available, which one doesn't matter.
I hope I've just been using the wrong search terms, but "alternative dependencies in pyproject.toml" and similar didn't yield any results. :sweat_smile: