From 7c98737f359e4d1fe5abdc6611bc0707aa7bf64c Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 18 Jan 2024 18:57:57 +0200 Subject: [PATCH] Add pyproject.toml to make package installable --- README.md | 5 +++++ pyproject.toml | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 README.md create mode 100644 pyproject.toml diff --git a/README.md b/README.md new file mode 100644 index 0000000..018dee5 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# HandRefinerPortable + +This is a convenience package used by +[sd-webui-controlnet](https://github.com/Mikubill/sd-webui-controlnet) +to package the dependencies and model used by the hand refiner preprocessor. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9c13991 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "handrefinerportable" +readme = "README.md" +version = "2024.01.18.0" +dependencies = [ + "rtree", + "mediapipe", + "trimesh[easy]", +] + +[project.urls] +Documentation = "https://github.com/huchenlei/HandRefinerPortable" +Issues = "https://github.com/huchenlei/HandRefinerPortable/issues" +Source = "https://github.com/huchenlei/HandRefinerPortable" + +[tool.hatch.build.targets.wheel] +packages = [ + "hand_refiner", + "manopth", + "mesh_graphormer", +]