From 226a0f19aaa5aa86d8c3837fb8dd9369e6adbf41 Mon Sep 17 00:00:00 2001 From: vyomakesh09 Date: Thu, 23 Oct 2025 19:47:54 +0530 Subject: [PATCH] add pyproject.toml for uv/pip install support --- pyproject.toml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fed17cc --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,64 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "screencoder" +version = "0.1.0" +description = "Advancing Visual-to-Code Generation for Front-End Automation via Modular Multimodal Agents" +readme = "README.md" +requires-python = ">=3.8" + +dependencies = [ + "Pillow>=10.0.0", + "beautifulsoup4>=4.12.0", + "volcengine-python-sdk[ark]>=1.0.0", + "requests>=2.31.0", + "opencv-python>=4.8.0", + "google-generativeai>=0.3.0", + "numpy>=1.24.0", + "openai>=1.0.0", + "playwright>=1.40.0", + "scikit-learn>=1.3.0", + "scipy>=1.11.0", + "pandas>=2.0.0", + "paddlepaddle>=2.5.0", + "paddleocr>=2.7.0", + "keras>=2.15.0", + "tensorflow>=2.15.0", + "tqdm>=4.65.0", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", +] + +[tool.hatch.build.targets.wheel] +packages = ["."] + +[tool.hatch.build.targets.sdist] +include = [ + "*.py", + "UIED/**", + "data/**", + "requirements.txt", + "README.md", + "LICENSE", +] +exclude = [ + "tmp/**", + "*.zip", + "*.jpeg", + "*.jpg", + ".git/**", + "__pycache__/**", + "*.pyc", + "*_api.txt", +] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = "test_*.py" +python_classes = "Test*" +python_functions = "test_*"