Add tools and tests for AnyImage model management and documentation
- Implement sync_models.py for preparing and uploading ONNX artifacts. - Create build_node.py for building and validating Blender scripts. - Add docs.py for building and previewing documentation with Mike or MkDocs. - Introduce model_exports.py for exporting PyTorch models to ONNX format. - Develop pack.py for packaging the project with dependencies for different platforms. - Add test_sync_models.py to validate sync_models functionality. - Add test_tool_commands.py to ensure repository tools have correct command scripts. - Initialize tools package with __init__.py.
This commit is contained in:
@@ -7,23 +7,33 @@ requires-python = ">=3.11,<3.12"
|
||||
license = "GPL-3.0-or-later"
|
||||
dependencies = ["blendjob==0.1.14"]
|
||||
|
||||
[project.scripts]
|
||||
pack = "tools.pack:main"
|
||||
build_node = "tools.build_node:main"
|
||||
sync_models = "tools.sync_models:main"
|
||||
docs = "tools.docs:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=77"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"av==17.0.0",
|
||||
"bpy==4.5.3",
|
||||
"huggingface-hub==1.4.1",
|
||||
"mike>=2.1.3,<3",
|
||||
"mkdocs>=1.6.1,<2",
|
||||
"mkdocs-click==0.9.0",
|
||||
"mkdocs-material>=9.6.16,<10",
|
||||
"numpy>=1.26,<2.0",
|
||||
"onnx==1.19.0",
|
||||
"onnxruntime==1.24.4",
|
||||
"pillow==12.1.1",
|
||||
"pip>=25,<27",
|
||||
"pytest",
|
||||
"torch==2.13.0",
|
||||
"trimesh==4.11.2",
|
||||
]
|
||||
docs = [
|
||||
"mike>=2.1.3,<3",
|
||||
"mkdocs>=1.6.1,<2",
|
||||
"mkdocs-material>=9.6.16,<10",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
[tool.setuptools]
|
||||
packages = ["tools"]
|
||||
|
||||
Reference in New Issue
Block a user