forked from 3dgeo-heidelberg/helios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (45 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
48
49
50
51
52
[build-system]
requires = [
"scikit-build-core",
"setuptools_scm",
]
build-backend = "scikit_build_core.build"
[project]
name = "pyhelios"
dynamic = ["version"]
description = "The HELIOS++ Virtual Laser Scanning Simulator"
readme = "README.md"
maintainers = [
{ name = "HELIOS++ dev team", email = "[email protected]" },
]
classifiers = [
"Development Status :: 3 - Alpha",
]
[project.scripts]
helios = "pyhelios.__main__:helios_entrypoint"
helios-live = "pyhelios.live:helios_live"
[tool.scikit-build]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["python/pyhelios/_version.py"]
[tool.scikit-build.cmake]
minimum-version = "3.18"
[tool.scikit-build.cmake.define]
BUILD_DOCS = "OFF"
BUILD_PYTHON = "ON"
HELIOS_DATA_ANALYTICS = "0"
HELIOS_BUDDING_METRICS = "0"
# Executable built and installed during "pip install" should
# find the shared libaries of their dependencies without manual
# fiddling with LD_LIBRARY_PATH. As a downside, the built executables
# are not relocatable.
CMAKE_INSTALL_RPATH_USE_LINK_PATH = "ON"
[tool.setuptools_scm] # Section required
write_to = "python/pyhelios/_version.py"
[tool.pytest.ini_options]
markers = [
"exe: mark tests for the command line tool",
"pyh: mark tests for the python bindings pyhelios",
]
testpaths = [
"pytests",
]