MagicStack/uvloop

uvloop installs generated loop.c file

BubuOT opened this issue · 0 comments

BubuOT commented
  • uvloop version: 0.17.0
  • Python version: 3.10, 3.11
  • Platform: buildroot
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?: n/a
  • Does uvloop behave differently from vanilla asyncio? How?: n/a

uvloop's wheels contains the cython generated loop.c source file, which is about 7.5 MB big. This file get's installed alongside the compiled version into the target python distribution. As far as I understand, this file serves no purpose at runtime so it just ends up taking up disk space. (And given embedded systems ~8MB is a lot of disk space to just waste for something that is never needed). It think instead this file can just not be shipped in the wheel instead?