forked from 3dgeo-heidelberg/py4dgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (91 loc) · 2.89 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (91 loc) · 2.89 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# This section describes the requirements of the build/installation
# process itself. Being able to do this was the original reason to
# introduce pyproject.toml
[build-system]
requires = [
"pybind11",
"scikit-build-core >=0.11.0",
]
build-backend = "scikit_build_core.build"
# This section provides general project metadata that is used across
# a variety of build tools. Notably, the version specified here is the
# single source of truth for py4dgeo's version
[project]
name = "py4dgeo"
version = "1.1.0"
description = "Library for change detection in 4D point cloud data"
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
license-files = ["LICENSE.md"]
keywords = ["point-cloud", "change-detection", "4D", "geospatial", "lidar"]
maintainers = [
{ name = "Dominic Kempf", email = "ssc@iwr.uni-heidelberg.de" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: GIS",
"Intended Audience :: Science/Research",
]
dependencies = [
"dateparser",
"laspy[lazrs]>=2.0,<3.0",
"matplotlib",
"numpy",
"pooch",
"requests",
"seaborn",
"scikit-learn",
"xdg",
"psutil"
]
[project.optional-dependencies]
docs = [
"breathe",
"docutils<0.22",
"myst_nb",
"myst_parser",
"nbsphinx_link",
"sphinx",
"sphinx_rtd_theme",
]
[project.urls]
homepage = "https://github.com/3dgeo-heidelberg/py4dgeo/"
documentation = "https://py4dgeo.readthedocs.io/"
repository = "https://github.com/3dgeo-heidelberg/py4dgeo/"
# Command line scripts installed as part of the installation
[project.scripts]
copy_py4dgeo_test_data = "py4dgeo.util:copy_test_data_entrypoint"
[tool.scikit-build]
cmake.version = ">=3.30"
cmake.define = { BUILD_DOCS = "OFF", BUILD_TESTING = "OFF" }
# The next section configures building wheels in Continuous Integration
# The cibuildwheel documentation covers the available options in detail:
# https://cibuildwheel.readthedocs.io/en/stable/options/
[tool.cibuildwheel]
# Super-verbose output for debugging purpose
build-verbosity = 3
# We only do 64 bit builds
archs = ["auto64"]
# We restrict ourselves to recent Python versions.
# We temporarily skip win32 builds, because lazrs
# does not provide Win32 wheels.
skip = "*musllinux* *-win32"
# Testing commands for our wheels
test-command = "pytest {package}/tests/python"
test-requires = ["pytest", "ruptures"]
[tool.cibuildwheel.macos]
before-all = "brew install libomp"
environment = { OpenMP_ROOT="$(brew --prefix libomp)" }
# The following is the configuration for the pytest test suite
[tool.pytest.ini_options]
testpaths = [
"tests/python",
"jupyter",
]
filterwarnings = [
"ignore:The localize method is no longer necessary, as this time zone supports the fold attribute",
"ignore:distutils Version classes are deprecated. Use packaging.version instead.",
]