By the way, Gentoo also uses ready .js files instead of generating them from source: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.1.ebuild
On Thu, Nov 13, 2025 at 1:49 PM Ryan Carsten Schmidt < [email protected]> wrote: > On Nov 12, 2025, at 23:25, Sergey Fedorov wrote: > > > Is there an existing mechanism to install a wheel from PyPi rather than > generating it locally from sources? > > Context of the problem: yt-dlp recommends JS runtime now, and that needs > their yt-dlp-ejs package. While JS runtime is not an issue for any > platform, since QuickJS is supported, among others, it is not sufficient to > generate .js files from ejs package. However those are not > platform-specific, so while NodeJS/Rust are broken on legacy systems, using > the wheel should do just fine. > > Discussion: https://github.com/yt-dlp/ejs/issues/31 > > > Thanks for referring me to that. I agree installing the prebuilt wheel > seems like the way to go in this case but I don't know if we have any > existing provisions to do so. > >
