From c812440dd4c35951281daa3b718d3ee613b0d244 Mon Sep 17 00:00:00 2001 From: Nathaniel Schmitz Date: Mon, 14 Oct 2024 17:31:33 -0400 Subject: [PATCH] Clean up setuptools references in pyproject.toml --- pyproject.toml | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7c59e3974d..f143feaeb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,6 @@ build-backend = "hatchling.build" [project] name = "geemap" version = "0.34.5" -dynamic = [ - "dependencies", -] description = "A Python package for interactive mapping using Google Earth Engine and ipyleaflet" readme = "README.md" requires-python = ">=3.9" @@ -28,6 +25,27 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ] +dependencies = [ + "anywidget", + "bqplot", + "colour", + "earthengine-api>=1.0.0", + "eerepr>=0.0.4", + "folium>=0.17.0", + "geocoder", + "ipyevents", + "ipyfilechooser>=0.6.0", + "ipyleaflet>=0.19.2", + "ipytree", + "matplotlib", + "numpy", + "pandas", + "plotly", + "pyperclip", + "pyshp>=2.3.1", + "python-box", + "scooby", +] [project.scripts] geemap = "geemap.cli:main" @@ -120,12 +138,10 @@ maplibre = [ ] [tool] -[tool.setuptools.packages.find] -include = ["geemap*"] -exclude = ["docs*"] -[tool.setuptools.dynamic] -dependencies = {file = ["requirements.txt"]} +[tool.hatch.build.targets.sdist] +packages = ["geemap"] +exclude = ["docs*"] [tool.distutils.bdist_wheel] universal = true @@ -151,8 +167,6 @@ exclude = [ ] max-line-length = 88 -[tool.setuptools_scm] - [tool.hatch.envs.default] features = ["dev"]