mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
winrt packaging bug has been fixed
This commit is contained in:
parent
168963460f
commit
38850c6856
3 changed files with 2 additions and 22 deletions
|
@ -26,9 +26,7 @@ fluent.syntax
|
|||
# windows only
|
||||
psutil; sys.platform == "win32"
|
||||
pywin32; sys.platform == "win32"
|
||||
# pinned due to https://github.com/microsoft/xlang/issues/717
|
||||
winrt==1.0.20239.1; sys.platform == "win32" and platform_release == "10" and python_version == "3.8"
|
||||
winrt; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"
|
||||
winrt; sys.platform == "win32" and platform_release == "10"
|
||||
|
||||
# transitive windows dependencies
|
||||
atomicwrites; sys.platform == "win32" # via pytest
|
||||
|
|
|
@ -148,7 +148,7 @@ waitress==2.0.0b1
|
|||
# via -r requirements.in
|
||||
werkzeug==1.0.1
|
||||
# via flask
|
||||
winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10" and python_version == "3.8"
|
||||
winrt==1.0.21033.1 ; sys_platform == "win32" and platform_release == "10"
|
||||
# via -r requirements.in
|
||||
wrapt==1.12.1
|
||||
# via astroid
|
||||
|
@ -158,6 +158,3 @@ pip==21.0.1
|
|||
# via pip-tools
|
||||
setuptools==53.0.0
|
||||
# via jsonschema
|
||||
|
||||
# manually added for now; ensure it and the earlier winrt are not removed on update
|
||||
winrt==1.0.20330.1; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"
|
||||
|
|
|
@ -15,19 +15,4 @@ print("Updating deps...")
|
|||
os.chdir("pip")
|
||||
sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade", "--no-header"]
|
||||
|
||||
|
||||
def after_run():
|
||||
with open("requirements.txt", "a+") as file:
|
||||
file.write(
|
||||
"""
|
||||
# manually added for now; ensure it and the earlier winrt are not removed on update
|
||||
winrt==1.0.20330.1; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
import atexit
|
||||
|
||||
atexit.register(after_run)
|
||||
|
||||
cli()
|
||||
|
|
Loading…
Reference in a new issue