chore(pyproject): optimize dependencies for different systems
This commit is contained in:
parent
ffe53ebcef
commit
f472f51d41
|
|
@ -35,40 +35,20 @@ classifiers = [
|
||||||
]
|
]
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"pyperclip==1.9.0",
|
||||||
|
|
||||||
|
"psutil==5.9.8; platform_system == 'Windows' and python_version < '3.9'",
|
||||||
"cryptography==41.0.7; platform_system == 'Windows' and python_version < '3.9'",
|
"cryptography==41.0.7; platform_system == 'Windows' and python_version < '3.9'",
|
||||||
|
"Pillow==10.4.0; platform_system == 'Windows' and python_version < '3.9'",
|
||||||
|
|
||||||
|
"psutil==7.0.0; platform_system != 'Windows' or python_version >= '3.9'",
|
||||||
"cryptography==46.0.5; platform_system != 'Windows' or python_version >= '3.9'",
|
"cryptography==46.0.5; platform_system != 'Windows' or python_version >= '3.9'",
|
||||||
]
|
"Pillow==12.1.1; (platform_system != 'Windows' or python_version >= '3.9') and platform_system != 'Darwin'",
|
||||||
|
|
||||||
[project.optional-dependencies]
|
"customtkinter==5.2.2; platform_system != 'Darwin'",
|
||||||
win7 = [
|
"pystray==0.19.5; platform_system != 'Darwin'",
|
||||||
"customtkinter==5.2.2",
|
"rumps==0.4.0; platform_system == 'Darwin'",
|
||||||
"Pillow==10.4.0",
|
"Pillow==12.1.0; platform_system == 'Darwin'",
|
||||||
"psutil==5.9.8",
|
|
||||||
"pystray==0.19.5",
|
|
||||||
"pyperclip==1.9.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
win10 = [
|
|
||||||
"customtkinter==5.2.2",
|
|
||||||
"Pillow==12.1.1",
|
|
||||||
"psutil==7.0.0",
|
|
||||||
"pystray==0.19.5",
|
|
||||||
"pyperclip==1.9.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
macos = [
|
|
||||||
"Pillow==12.1.0",
|
|
||||||
"psutil==7.0.0",
|
|
||||||
"pyperclip==1.9.0",
|
|
||||||
"rumps==0.4.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
linux = [
|
|
||||||
"customtkinter==5.2.2",
|
|
||||||
"Pillow==12.1.1",
|
|
||||||
"psutil==7.0.0",
|
|
||||||
"pystray==0.19.5",
|
|
||||||
"pyperclip==1.9.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue