mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

mypy's move to external types-* packages is a PITA, as it requires them to be installed in site-packages, and provides no way to specify a custom site-packages folder, necessitating extra scripts to mock the site-packages path, and copy+rename the stub packages into a separate folder.
135 B
135 B
mypy 0.9 assumes stub files will be installed in site-packages, but they are not in Bazel's case, so we need to hack around the issue.