forked from laspy/laspy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (79 loc) · 2.23 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (79 loc) · 2.23 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "laspy"
dynamic = ["version"]
description = "Native Python ASPRS LAS read/write library"
readme = "README.md"
license = "BSD-2-Clause"
requires-python = ">=3.11"
authors = [
{ name = "Grant Brown", email = "grant.brown73@gmail.com" },
{ name = "Thomas Montaigu", email = "thomas.montaigu@laposte.net" },
]
keywords = ["gis", "las", "lidar"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = ["numpy"]
[project.optional-dependencies]
cli = ["rich >= 10.11.0", "typer >= 0.16.0"]
dev = [
"coverage",
"m2r2",
"nox",
"pytest",
"pytest-benchmark",
"rangehttpserver",
"sphinx",
"sphinx-rtd-theme",
]
laszip = ["laszip >= 0.3.0, < 0.4.0"]
lazrs = ["lazrs>=0.8.0, < 0.9.0"]
pyproj = ["pyproj"]
requests = ["requests"]
[project.scripts]
laspy = "laspy.cli.main:main"
[project.urls]
Homepage = "https://github.com/laspy/laspy"
[tool.hatch.version]
path = "laspy/__init__.py"
# Change the location of virtual envs to be in the project folder
[tool.hatch.envs.default]
path = ".venv"
[tool.hatch.envs.hatch-static-analysis]
dependencies = ["black==25.12.0", "isort==7.0.0"]
[tool.hatch.envs.hatch-static-analysis.scripts]
format-check = [
"black --check --diff {args:.}",
"isort --check-only --diff {args:laspy tests}",
]
format-fix = ["isort {args:laspy tests}", "black {args:.}"]
lint-check = ""
lint-fix = "lint-check"
[tool.hatch.build.targets.sdist]
include = ["/laspy", "/tests"]
[tool.isort]
profile = "black"
[tool.hatch.envs.dev]
features = ["dev"]
[tool.hatch.envs.dev.scripts]
check-fmt = ["black --check .", "isort --check laspy tests"]
fmt = ["black .", "isort laspy tests"]
test = ["pytest laspy", "pytest tests"]
[tool.hatch.envs.dev-laszip]
template = "dev"
features = ["dev", "laszip"]
[tool.hatch.envs.dev-lazrs]
template = "dev"
features = ["dev", "lazrs"]
[tool.hatch.envs.dev-all]
template = "dev"
features = ["dev", "lazrs", "laszip", "cli", "pyproj", "requests"]