File: pyproject.toml

package info (click to toggle)
python-laspy 2.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,124 kB
  • sloc: python: 9,474; makefile: 20
file content (91 lines) | stat: -rw-r--r-- 2,231 bytes parent folder | download
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
[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.10"
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.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"]