|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
wanted to do this before, but per comment:
the official docs led me to believe that importlib_resources was the only
way to do it, and that the thing i was trying to do wasn't supported in
some python versions
so i put it off to one side for later
later came (now), and i tried to implement it with importlib.resources
didn't work, i looked it up and found this stackoverflow post
https://stackoverflow.com/a/58941536
and the second answer, using pkgutil (not importlib.resources), just worked
and the syntax/api seems much nicer as well
have tested with pip yt-dlp + raw directory plugin,
and binary yt-dlp + .whl plugin
also on windows, with binary+whl
both worked, amazing success! so pkgutil seems like the way to go
i also updated the build thing to include .bin files in the extractor dir
|