Merge pull request #2 from akx/hatchify

Add pyproject.toml to make package installable
This commit is contained in:
Chenlei Hu
2024-01-19 01:21:22 +00:00
committed by GitHub
2 changed files with 30 additions and 0 deletions

5
README.md Normal file
View File

@@ -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.

25
pyproject.toml Normal file
View File

@@ -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",
]