-
Notifications
You must be signed in to change notification settings - Fork 299
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
80 lines (70 loc) · 2.28 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Copyright (c) 2011, The DART development contributors
# All rights reserved.
[build-system]
requires = ["scikit-build-core>=0.10", "nanobind>=2.9.2", "requests"]
build-backend = "scikit_build_core.build"
[project]
name = "dartpy"
dynamic = ["version"]
description = "Python API of Dynamic Animation and Robotics Toolkit."
readme = "README.md"
requires-python = ">=3.12"
license = "BSD-2-Clause"
authors = [{ name = "Jeongseok Lee", email = "jslee02@gmail.com" }]
keywords = ["dartsim", "robotics"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Framework :: Robot Framework",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
]
dependencies = ["numpy"]
[project.optional-dependencies]
test = ["pytest>=6.0"]
[project.urls]
Homepage = "https://github.com/dartsim/dart.git"
Repository = "https://github.com/dartsim/dart.git"
[tool.scikit-build]
# Build directory
build-dir = "build/{wheel_tag}"
# Enable verbose build output
build.verbose = true
# Dynamic metadata
metadata.version.provider = "scikit_build_core.metadata.regex"
metadata.version.input = "package.xml"
metadata.version.regex = "<version>(?P<value>[0-9]+\\.[0-9]+\\.[0-9]+(?:\\.(dev|alpha|beta|rc)[0-9]+)?)</version>"
[tool.scikit-build.cmake]
# CMake version requirement
version = ">=3.22.1"
# CMake build type
build-type = "Release"
[tool.scikit-build.cmake.define]
# Build configuration for wheels (static linking, minimal dependencies)
BUILD_SHARED_LIBS = "OFF"
DART_BUILD_DARTPY = "ON"
DART_BUILD_GUI = "ON"
DART_ENABLE_SIMD = "OFF"
DART_BUILD_WHEELS = "ON"
DART_TREAT_WARNINGS_AS_ERRORS = "OFF"
DART_VERBOSE = "ON"
DART_USE_SYSTEM_IMGUI = "OFF"
[tool.black]
exclude = '/(build|dist|docs|examples|external|python|\.pixi)/'
[tool.isort]
profile = "black"
skip = ['build', 'dist', 'docs', 'examples', 'external', 'python', '.pixi']
[tool.mypy]
python_version = "3.7"
strict = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error"]
testpaths = ["tests"]