mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Add missing aqt and anki modules dependency requirements
This commit is contained in:
parent
24113c81ec
commit
a48fa4ad87
4 changed files with 8 additions and 4 deletions
|
@ -117,6 +117,7 @@ anki/buildinfo.py: ../meta/version ../meta/buildhash
|
|||
|
||||
VER := $(shell cat ../meta/version)
|
||||
.build/vernum: ../meta/version
|
||||
sed -i.bak 's/.*automatically updated.*/ version="$(VER)", # automatically updated/' setup.py
|
||||
sed -i.bak 's/.*automatically updated 1.*/ "ankirspy==$(VER)", # automatically updated 1/' setup.py
|
||||
sed -i.bak 's/.*automatically updated 2.*/ version="$(VER)", # automatically updated 2/' setup.py
|
||||
rm setup.py.bak
|
||||
@touch $@
|
||||
|
|
|
@ -7,6 +7,7 @@ install_requires = [
|
|||
"requests",
|
||||
"decorator",
|
||||
"protobuf",
|
||||
"ankirspy==2.1.25", # automatically updated 1
|
||||
'orjson; platform_machine == "x86_64"',
|
||||
'psutil; sys_platform == "win32"',
|
||||
'distro; sys_platform != "darwin" and sys_platform != "win32"',
|
||||
|
@ -15,7 +16,7 @@ install_requires = [
|
|||
|
||||
setuptools.setup(
|
||||
name="anki",
|
||||
version="2.1.25", # automatically updated
|
||||
version="2.1.25", # automatically updated 2
|
||||
author="Ankitects Pty Ltd",
|
||||
description="Anki's library code",
|
||||
long_description="Anki's library code",
|
||||
|
|
|
@ -144,6 +144,7 @@ aqt/buildinfo.py: ../meta/version ../meta/buildhash
|
|||
|
||||
VER := $(shell cat ../meta/version)
|
||||
.build/vernum: ../meta/version
|
||||
sed -i.bak 's/.*automatically updated.*/ version="$(VER)", # automatically updated/' setup.py
|
||||
sed -i.bak 's/.*automatically updated 1.*/ "anki==$(VER)", # automatically updated 1/' setup.py
|
||||
sed -i.bak 's/.*automatically updated 2.*/ version="$(VER)", # automatically updated 2/' setup.py
|
||||
rm setup.py.bak
|
||||
@touch $@
|
||||
|
|
|
@ -30,12 +30,13 @@ install_requires = [
|
|||
"pyqt5>=5.9",
|
||||
'psutil; sys.platform == "win32"',
|
||||
'pywin32; sys.platform == "win32"',
|
||||
"anki==2.1.25", # automatically updated 1
|
||||
]
|
||||
|
||||
|
||||
setuptools.setup(
|
||||
name="aqt",
|
||||
version="2.1.25", # automatically updated
|
||||
version="2.1.25", # automatically updated 2
|
||||
author="Ankitects Pty Ltd",
|
||||
description="Anki's Qt GUI code",
|
||||
long_description="Anki's QT GUI code",
|
||||
|
|
Loading…
Reference in a new issue