Skip to content

Commit a151216

Browse files
authored
Update pyproject.toml
Uses PEP 621 for toml, hopefully reduces build issues
1 parent e9d2946 commit a151216

File tree

1 file changed

+51
-32
lines changed

1 file changed

+51
-32
lines changed

pyproject.toml

Lines changed: 51 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,55 @@
1-
[tool.poetry]
2-
name = "planet-overlap" # distribution name (dash ok)
3-
version = "1.0.0"
4-
description = "PlanetOverlap: AOI & temporal tiling pipeline for Planet imagery"
5-
authors = ["Brianna Lind <[email protected]>"]
1+
[build-system]
2+
requires = ["setuptools>=69", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "planet_overlap"
7+
version = "0.1.0"
8+
description = "Tools for analyzing planetary overlap and spatial relationships."
69
readme = "README.md"
7-
license = "MIT"
8-
packages = [
9-
{ include = "planet_overlap" } # <- tells Poetry where the Python package lives
10+
requires-python = ">=3.10"
11+
license = { text = "MIT" }
12+
authors = [
13+
{ name = "Brianna Lind" }
14+
]
15+
keywords = ["geospatial", "planetary science", "overlap", "analysis"]
16+
classifiers = [
17+
"Intended Audience :: Science/Research",
18+
"License :: OSI Approved :: MIT License",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3 :: Only",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
1024
]
1125

12-
[tool.poetry.dependencies]
13-
python = "^3.10"
14-
numpy = "^1.26"
15-
pandas = "^2.3"
16-
shapely = "^2.1"
17-
pyproj = "^3.7"
18-
fiona = "^1.10"
19-
geopandas = "^1.1.2"
20-
requests = "^2.32"
21-
click = "^8.3"
22-
tzdata = "^2025.3"
23-
python-dateutil = "^2.9"
24-
attrs = "^25.4"
25-
six = "^1.17"
26-
27-
[tool.poetry.group.dev.dependencies]
28-
pytest = "^7.4"
29-
flake8 = "^7.3"
30-
autoflake = "^2.3"
31-
black = "^24.10"
32-
memory-profiler = "^0.61"
26+
dependencies = [
27+
"numpy>=1.23",
28+
# Add other runtime deps explicitly here
29+
]
3330

34-
[build-system]
35-
requires = ["poetry-core>=1.5.0"]
36-
build-backend = "poetry.core.masonry.api"
31+
[project.optional-dependencies]
32+
dev = [
33+
"pytest>=7",
34+
"pytest-cov",
35+
"flake8",
36+
"black",
37+
"mypy",
38+
]
39+
40+
[project.urls]
41+
Homepage = "https://github.com/BriannaLind/planet_overlap"
42+
Repository = "https://github.com/BriannaLind/planet_overlap"
43+
44+
[tool.setuptools]
45+
package-dir = {"" = "src"}
46+
47+
[tool.setuptools.packages.find]
48+
where = ["src"]
49+
50+
[tool.black]
51+
line-length = 88
52+
53+
[tool.pytest.ini_options]
54+
addopts = "--strict-markers --disable-warnings"
55+
testpaths = ["tests"]

0 commit comments

Comments
 (0)