mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05: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. |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| extendsitepkgs.py | ||
| gatherstubs.py | ||
| README.md | ||
| stubs.bzl | ||
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.