-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
54 lines (50 loc) · 1.49 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
48
49
50
51
52
53
54
[build-system]
requires = ["scikit-build-core", "pybind11"]
build-backend = "scikit_build_core.build"
[project]
name = "pymomentum"
version = "0.1.0"
description = "A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Meta Reality Labs Research", email = "[email protected]" },
]
classifiers = ["License :: OSI Approved :: MIT License"]
dependencies = []
[project.urls]
Homepage = "https://github.com/facebookincubator/momentum"
[tool.scikit-build]
build-dir = "build/{wheel_tag}"
cmake.args = [
"-DBUILD_SHARED_LIBS=OFF",
"-DMOMENTUM_BUILD_PYMOMENTUM=ON",
"-DMOMENTUM_BUILD_EXAMPLES=OFF",
"-DMOMENTUM_BUILD_TESTING=ON",
"-DMOMENTUM_USE_SYSTEM_GOOGLETEST=ON",
"-DMOMENTUM_USE_SYSTEM_PYBIND11=OFF",
"-DMOMENTUM_USE_SYSTEM_RERUN_CPP_SDK=ON",
]
minimum-version = "0.10"
sdist.exclude = [
"cmake/",
"test/",
"*.h",
"*.cpp",
"*.cmake",
".clang-format",
"CMakeLists.txt",
]
wheel.exclude = ["geometry_test_helper.*"]
[[tool.scikit-build.overrides]]
if.platform-system = "^win32"
cmake.args = [
"-DBUILD_SHARED_LIBS=OFF",
"-G Visual Studio 17 2022",
"-DMOMENTUM_BUILD_PYMOMENTUM=ON",
"-DMOMENTUM_BUILD_EXAMPLES=OFF",
"-DMOMENTUM_BUILD_TESTING=ON",
"-DMOMENTUM_USE_SYSTEM_GOOGLETEST=ON",
"-DMOMENTUM_USE_SYSTEM_PYBIND11=ON",
"-DMOMENTUM_USE_SYSTEM_RERUN_CPP_SDK=ON",
]