mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
more fixes for bundled Qt types
This commit is contained in:
parent
08ac2601ed
commit
36de3ff6fd
1 changed files with 1 additions and 1 deletions
|
@ -17,4 +17,4 @@ TOOLS="$(cd "`dirname "$0"`"; pwd)"
|
|||
modDir=$(python -c 'import PyQt5, sys, os; sys.stdout.write(os.path.dirname(sys.modules["PyQt5"].__file__))')
|
||||
|
||||
# fix broken stubs in pyqt5.15.0 release
|
||||
(cd $modDir && perl -i'' -pe 's/^None =/None_ =/' *.pyi)
|
||||
(cd $modDir && perl -i'' -pe 's/(\s*None) =/$1_ =/' *.pyi && touch py.typed)
|
||||
|
|
Loading…
Reference in a new issue