-
Notifications
You must be signed in to change notification settings - Fork 128
/
pyproject.toml
47 lines (37 loc) · 1.32 KB
/
pyproject.toml
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
[build-system]
requires = ["scikit-build-core>=0.3.3", "pybind11==2.11.1"]
build-backend = "scikit_build_core.build"
[project]
name = "pycolmap"
version = "0.7.0-dev"
description="COLMAP bindings"
readme = "README.md"
authors = [
{ name = "Mihai Dusmanu", email = "mihai.dusmanu@microsoft.com" },
{ name = "Paul-Edouard Sarlin", email = "psarlin@ethz.ch" },
{ name = "Philipp Lindenberger", email = "plindenbe@ethz.ch" },
]
license = {file = "LICENSE"}
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}-{macosx,manylinux,win}*"
archs = ["auto64"]
test-command = "python -c \"import pycolmap; print(pycolmap.__version__)\""
[tool.cibuildwheel.environment]
COLMAP_COMMIT_ID = "3.9.1"
VCPKG_COMMIT_ID = "fa6e6a6ec3224f1d3697d544edef6272a59cd834"
[tool.cibuildwheel.linux]
before-all = "{project}/package/install-colmap-centos.sh"
[tool.cibuildwheel.macos]
before-all = "{project}/package/install-colmap-macos.sh"
[tool.cibuildwheel.windows]
before-all = "powershell -File {project}/package/install-colmap-windows.ps1"
before-build = "pip install delvewheel"