1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
[build-system]
requires = ["scikit-build-core>=0.3.3", "pybind11==2.12.0"]
build-backend = "scikit_build_core.build"
[project]
name = "pycolmap"
version = "3.10-dev"
description="COLMAP bindings"
readme = "README.md"
authors = [
{ name = "Mihai Dusmanu", email = "mihai.dusmanu@gmail.com" },
{ name = "Paul-Edouard Sarlin", email = "psarlin@ethz.ch" },
{ name = "Philipp Lindenberger", email = "plindenbe@ethz.ch" },
]
license = {text = "BSD-3-Clause"}
urls = {Repository = "https://github.com/colmap/pycolmap"}
requires-python = ">=3.7"
dependencies = ["numpy"]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
]
[tool.scikit-build]
wheel.expand-macos-universal-tags = true
[tool.cibuildwheel]
build = "cp3{8,9,10,11,12}-{macosx,manylinux,win}*"
archs = ["auto64"]
[tool.cibuildwheel.environment]
VCPKG_COMMIT_ID = "e01906b2ba7e645a76ee021a19de616edc98d29f"
[tool.cibuildwheel.linux]
before-all = "{package}/ci/install-colmap-centos.sh"
test-command = "python -c \"import pycolmap; print(pycolmap.__version__)\""
[tool.cibuildwheel.macos]
before-all = "{package}/ci/install-colmap-macos.sh"
test-command = "python -c \"import pycolmap; print(pycolmap.__version__)\""
[tool.cibuildwheel.windows]
before-all = "powershell -File {package}/ci/install-colmap-windows.ps1"
before-build = "pip install delvewheel"
test-command = "powershell -File {package}/ci/test-colmap-windows.ps1"
|