chore: update setup.py for version 1.0.0 release

- Bumped version to 1.0.0.
- Updated Python requirement to >=3.10.
- Upgraded dependencies: numpy, Pillow, pandas, torch, and added new dependencies including pygame, backoff, openai, dashscope, google-generativeai, wandb, gdown, tiktoken, groq, docker, loguru, dotenv, tldextract, and anthropic.
- Ensured existing logic remains intact while enhancing package capabilities.
This commit is contained in:
Timothyxxx
2025-08-05 22:19:42 +08:00
parent 7364a720a6
commit bc1db8d623

View File

@@ -23,7 +23,7 @@ class InstallPlaywrightCommand(install):
setup( setup(
name="desktop_env", name="desktop_env",
version="0.1.5", version="1.0.0",
author="Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, etc.", author="Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, etc.",
author_email="tianbaoxiexxx@gmail.com", author_email="tianbaoxiexxx@gmail.com",
description="The package provides a desktop environment for setting and evaluating desktop automation tasks.", description="The package provides a desktop environment for setting and evaluating desktop automation tasks.",
@@ -36,15 +36,16 @@ setup(
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
], ],
python_requires='>=3.9', python_requires='>=3.10',
install_requires=[ install_requires=[
"numpy~=1.24.3", "numpy~=1.24.4",
"Pillow~=10.1.0", "Pillow~=11.0.0",
"fabric", "fabric",
"gymnasium~=0.28.1", "gymnasium~=0.28.1",
"requests~=2.31.0", "requests~=2.31.0",
"pytz~=2024.1",
"transformers~=4.35.2", "transformers~=4.35.2",
"torch~=2.1.1", "torch~=2.5.0",
"accelerate", "accelerate",
"opencv-python~=4.8.1.78", "opencv-python~=4.8.1.78",
"matplotlib~=3.7.4", "matplotlib~=3.7.4",
@@ -52,7 +53,7 @@ setup(
"pyautogui~=0.9.54", "pyautogui~=0.9.54",
"psutil~=5.9.6", "psutil~=5.9.6",
"tqdm~=4.65.0", "tqdm~=4.65.0",
"pandas~=2.0.3", "pandas~=2.2.3",
"flask~=3.0.0", "flask~=3.0.0",
"requests-toolbelt~=1.0.0", "requests-toolbelt~=1.0.0",
"lxml", "lxml",
@@ -65,6 +66,7 @@ setup(
"PyGetWindow", "PyGetWindow",
"rapidfuzz", "rapidfuzz",
"pyacoustid", "pyacoustid",
"pygame",
"opencv-python", "opencv-python",
"ImageHash", "ImageHash",
"scikit-image", "scikit-image",
@@ -72,23 +74,36 @@ setup(
"pymupdf", "pymupdf",
"chardet", "chardet",
"playwright", "playwright",
"backoff",
"formulas", "formulas",
"pydrive", "pydrive",
"fastdtw", "fastdtw",
"odfpy", "odfpy",
"openai",
"func-timeout", "func-timeout",
"beautifulsoup4", "beautifulsoup4",
"dashscope",
"google-generativeai",
"PyYaml", "PyYaml",
"mutagen", "mutagen",
"easyocr", "easyocr",
"borb", "borb",
"pypdf2", "pypdf2",
"pdfplumber", "pdfplumber",
"wandb",
"wrapt_timeout_decorator", "wrapt_timeout_decorator",
"gdown",
"tiktoken",
"groq",
"boto3", "boto3",
"azure-identity", "azure-identity",
"azure-mgmt-compute", "azure-mgmt-compute",
"azure-mgmt-network", "azure-mgmt-network",
"docker",
"loguru",
"dotenv",
"tldextract",
"anthropic",
], ],
cmdclass={ cmdclass={
'install': InstallPlaywrightCommand, # Use the custom install command 'install': InstallPlaywrightCommand, # Use the custom install command