-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 2.48 KB
/
pyproject.toml
File metadata and controls
82 lines (72 loc) · 2.48 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
# pyproject.toml
[build-system]
requires = ["setuptools", "setuptools-rust"]
build-backend = "setuptools.build_meta"
[project]
name = "gridr"
version = "0.5.2"
description = "Geometric and Radiometric Image Data Resampling"
authors = [ {name="CNES", email="[email protected]"} ]
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Rust",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"numpy>=1.25",
"scipy>=1.10.1",
"rasterio>=1.3.11",
"shapely>=2.0.6",
"typing_extensions>=4.15.0",
]
[project.urls]
Homepage = "https://gridr.readthedocs.io"
Documentation = "https://gridr.readthedocs.io/en/latest/"
Repository = "https://github.com/CNES/gridr"
Issues = "https://github.com/CNES/gridr/issues"
Changelog = "https://github.com/CNES/gridr/blob/main/CHANGELOG.md"
[tool.setuptools.packages]
# Pure Python packages/modules
find = { where = ["python"] }
[[tool.setuptools-rust.ext-modules]]
# Private Rust extension module to be nested into the Python package
# The last part of the target name (i.e. "_libgridr") has to match lib.name in Cargo.toml
target = "gridr.cdylib._libgridr"
path = "rust/gridr/Cargo.toml"
binding = "PyO3"
# Build extra options are passed through the DIST_EXTRA_CONFIG environment variable
# This is used for abi3 wheel build
# See Makefile option
[tool.black]
# https://github.com/psf/black
line-length = 100
include = '\.pyi?$'
exclude = "(.eggs|.git|.mypy_cache|.nox|.tox|_build|build|dist.*|venv.*|doc|docs|notebooks|benchmark)"
[tool.isort]
profile = 'black'
line_length = 100
known_third_party = [ "dask" ]
[tool.flake8]
exclude = [".git", "venv*", "doc", "docs", "notebooks", "benchmark", "build", "dist*" ]
extend-ignore = ["E203", "W503"]
max-complexity = 27
max-line-length = 100
select = ["E", "F", "W", "C", "B9", "C4", "B"]