-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (114 loc) · 3.7 KB
/
pyproject.toml
File metadata and controls
131 lines (114 loc) · 3.7 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "pointCollection"
description = "Utilities for organizing and manipulating point data"
keywords = [
"ICESat",
"ICESat-2",
"CryoSat-2",
"Operation IceBridge",
"geoindex",
]
authors = [
{name = "Ben Smith"},
{email = "besmith@uw.edu"}
]
maintainers = [
{name = "pointCollection contributors"}
]
license = {file = "LICENSE"}
readme = "README.md"
version = "1.0.0.0"
requires-python = "~=3.6"
dependencies = [
"h5py",
"matplotlib",
"netCDF4",
"numpy",
"pyproj",
"scipy>=1.10.1",
"shapely"
]
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
]
[project.urls]
Repository = "https://github.com/SmithB/pointCollection"
Issues = "https://github.com/SmithB/pointCollection/issues"
[project.optional-dependencies]
all = ["gdal", "notebook", "shapely"]
dev = ["flake8", "pytest>=4.6", "pytest-cov"]
[project.scripts]
"cross_ATL06_tile.py" = "pointCollection.scripts.cross_ATL06_tile:main"
"cross_ATL11_tile.py" = "pointCollection.scripts.cross_ATL11_tile:main"
"fix_indices.py" = "pointCollection.scripts.fix_indices:main"
"index_glob.py" = "pointCollection.scripts.index_glob:main"
"indexPicker.py" = "pointCollection.scripts.indexPicker:main"
"make_mosaic.py" = "pointCollection.scripts.make_mosaic:main"
"make_tiles.py" = "pointCollection.scripts.make_tiles:main"
"reduce_ATM.py" = "pointCollection.scripts.reduce_ATM:main"
"uproot_geoindex.py" = "pointCollection.scripts.uproot_geoindex:main"
[tool.setuptools.packages.find]
exclude = ["test*"]
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ".git"
python_files = [
"test*.py"
]
testpaths = [
"test"
]
[tool.pixi.workspace]
name = "pointCollection"
authors = ["pointCollection contributors"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64", "win-64"]
[tool.pixi.pypi-dependencies]
pointCollection = { path = ".", editable = true }
[tool.pixi.environments]
default = { solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }
[tool.pixi.tasks.jupyter]
cmd = "jupyter-notebook"
cwd = "notebooks"
description = "Start Jupyter Notebooks in the notebooks directory"
[tool.pixi.tasks.export-env]
args = [ { "arg" = "flags", "default" = "" } ]
cmd = "pixi workspace export conda-environment {{ flags }} > environment.yml"
description = "Export workspace to a conda environment file"
[tool.pixi.feature.dev.tasks.coverage]
cmd = "pytest --cov=pointCollection --junitxml=pytest.xml --cov-report=xml test"
description = "Run the pytest suite and create coverage reports"
[tool.pixi.feature.dev.tasks.lint]
args = [ { "arg" = "flags", "default" = "--select=E9,F63,F7,F82 --show-source" }, { "arg" = "directory", "default" = "." } ]
cmd = "flake8 {{ directory }} --count {{ flags }} --statistics --extend-exclude 'build/,*.ipynb_checkpoints/,.pixi/'"
description = "Run flake8 to check for compilation errors"
[tool.pixi.dependencies]
gdal = "*"
h5py = "*"
matplotlib-base = "*"
netCDF4 = "*"
notebook = "*"
numpy = "*"
pyproj = "*"
scipy = ">=1.10.1"
shapely = "*"
[tool.pixi.feature.dev.dependencies]
flake8 = "*"
pytest = ">=4.6"
pytest-cov = "*"