-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (80 loc) · 2.54 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
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
[project]
name = "envector"
dynamic = ["version"]
description = "The envector package is a suite of tools written in Python forked from the nvector package to solve geographical position calculations powered by means of n-vector."
authors = [
{name = "Matt Hogan", email = "mhogan@nwra.com"},
{name = "Kenneth Gade, FFI"},
{name = "Kristian Svartveit, FFI"},
{name = "Brita Hafskjold Gade, FFI"},
{name = "Per A. Brodtkorb, FFI"},
]
dependencies = [
"numpy>=1.11.0",
"scipy>=1.3.0",
"geographiclib>=2.0",
"matplotlib>=3.8.0",
"Cartopy>=0.22.0",
]
requires-python = ">=3.9"
readme = "README.rst"
license = {text = "Simplified BSD"}
license_file = "LICENSE.txt"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Environment :: Console",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: GIS"
]
[project.urls]
repository = "https://github.com/mhogan-nwra/envector/"
documentation = "https://envector.readthedocs.io/en/latest/"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.version]
source = "file"
path = "src/envector/__init__.py"
[tool.pdm.scripts]
sphinx_build = "sphinx-build -b html docs docs/_build -d docs/_build/doctrees"
lock_win64 = "pdm lock -L pdm_windows.lock --python 3.12 --strategy no_direct_minimal_versions --platform windows -dG all"
lock_linux = "pdm lock -L pdm_linux.lock --python 3.12 --strategy no_direct_minimal_versions --platform linux -dG all"
[tool.pdm.dev-dependencies]
build = [
"setuptools>=39.2", # MHogan: Pycharm complains oddly without this on Windows platform
"spyder-kernels" # Mhogan: If you want to use Spyder
]
test = [
"nox",
"pytest",
"pytest-cov",
"pytest-pep8",
"hypothesis",
]
sphinx = [
"sphinx>=1.3.1",
"sphinx_rtd_theme>=0.1.7",
"sphinxcontrib-napoleon",
"sphinxcontrib-bibtex"
]
all = ["envector[build,test,sphinx]"]
[tool.pytest.ini_options]
addopts = "-rsxXf --doctest-modules"
testpaths = [
"tests",
"src"
]