Spaces:
Sleeping
Sleeping
| [build-system] | |
| requires = [ | |
| "scikit-build-core>=0.5.0", | |
| "cmake>=3.15", | |
| "pybind11>=2.11.1", # 若需要 Python 绑定 | |
| ] | |
| build-backend = "scikit_build_core.build" | |
| [project] | |
| name = "pytexrecon" | |
| version = "0.1.0" | |
| description = "Python bindings for mvs-texturing" | |
| requires-python = ">=3.8" | |
| dependencies = ["numpy"] | |
| [tool.scikit-build] | |
| # 指向 CMakeLists.txt 所在目录 | |
| cmake.source_dir = "." | |
| # 编译后安装的目标(texrecon 可执行文件) | |
| install.targets = [ | |
| { name = "texrecon", destination = "pytexrecon/bin" } | |
| ] | |
| [tool.cibuildwheel] | |
| # 配置 CI 编译(Space 会自动使用) | |
| build = "cp38-*" | |
| manylinux-x86_64-image = "manylinux2014" | |
| before-all = "apt-get update && apt-get install -y libpng-dev libjpeg-dev libtiff-dev libtbb-dev" | |