-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
113 lines (95 loc) · 3.79 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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[build-system]
requires = [ "scikit-build-core"]
build-backend = "scikit_build_core.build"
[project]
name = "coverage_control"
authors = [
{ name = "Saurav Agarwal", email = "[email protected]" },
]
description = "Library for large-scale coverage control using robot swarms"
readme = "README.md"
license.file = "LICENSE"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Framework :: Robot Framework",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Environment :: GPU :: NVIDIA CUDA",
]
dynamic = ["version"]
dependencies = ["numpy", "pyyaml",
'toml; python_version < "3.11"',
]
[project.optional-dependencies]
nn = ["torch >=2.1", "torchvision >=2.1", "torch_geometric >=2.1"]
core_test = ["pytest >=6"]
test = ["pytest >=6", "torch >=2.1", "torchvision"]
[project.urls]
Homepage = "https://github.com/KumarRobotics/CoverageControl"
"Bug Tracker" = "https://github.com/KumarRobotics/CoverageControl/issues"
Discussions = "https://github.com/KumarRobotics/CoverageControl/discussions"
Changelog = "https://github.com/KumarRobotics/CoverageControl/releases"
[tool.scikit-build]
minimum-version = "0.8"
# cmake.version = ">=3.28"
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.cmake = true
sdist.include = [
"pybind11/third_party/tools",
"pybind11/third_party/include",
"pybind11/third_party/CMakeLists.txt",
"python/coverage_control/_version.py",
]
[tool.setuptools_scm]
write_to = "python/coverage_control/_version.py"
[tool.cibuildwheel]
build = "*"
skip = ["pp*", "*musllinux*"]
test-skip = ""
# archs = ["x86_64", "aarch64"]
# archs = ["aarch64"]
archs = ["x86_64"]
build-frontend = "default"
config-settings = {}
dependency-versions = "pinned"
environment-pass = []
build-verbosity = 1
repair-wheel-command = ""
# test-command=""
# before-test=""
test-command = "pytest -ra --showlocals --ignore={project}/python/tests/deprecated {project}/python/tests/test_coverage_env_utils.py {project}/python/tests/test_coverage.py {project}/python/tests/test_env_io.py {project}/python/tests/test_map_generation.py {project}/python/tests/test_models.py {project}/python/tests/test_package.py {project}/python/tests/test_parameters.py {project}/python/tests/test_parity.py"
before-test = "pip install pytest torch torchvision torch_geometric && wget https://github.com/KumarRobotics/CoverageControl/releases/download/v1.2.0/pytest_data.tar.gz && tar -xvf pytest_data.tar.gz -C python/tests/ && rm pytest_data.tar.gz"
test-requires = []
test-extras = []
container-engine = "docker"
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
[tool.cibuildwheel.linux]
environment = { PATH="/usr/local/cuda/bin:$PATH", LD_LIBRARY_PATH="/usr/local/cuda/lib64:$LD_LIBRARY_PATH" }
before-all = "bash setup_utils/manylinux_2_28_before-all.sh"
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
[tool.cibuildwheel.macos]
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
[tool.cibuildwheel.windows]
[tool.pytest.ini_options]
addopts = ["--ignore=python/tests/deprecated", "-ra", "--showlocals"]
testpaths = ["python/tests"]
[tool.pylint]
py-version = "3.10"
ignore-paths = [".*/_version.py", "cppsrc/*", "setup_utils/*", "python/coverage_control/_version.py"]
extension-pkg-allow-list = ["coverage_control._core"]
reports.output-format = "colorized"
similarities.ignore-imports = "yes"
# messages_control.disable = [
# "design",
# "fixme",
# "line-too-long",
# "missing-module-docstring",
# "wrong-import-position",
# ]