From 274abcce46f38077313e924d4d98df490a7f5f01 Mon Sep 17 00:00:00 2001 From: Nathaniel Schmitz Date: Tue, 15 Oct 2024 13:29:32 -0400 Subject: [PATCH] Move requirements to pyproject.toml file --- pyproject.toml | 35 +++++++++++++++++++++++------------ requirements.txt | 19 ------------------- 2 files changed, 23 insertions(+), 31 deletions(-) delete mode 100644 requirements.txt diff --git a/pyproject.toml b/pyproject.toml index 3820e49280..54a60bae86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,6 @@ [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" @@ -24,9 +21,26 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ] - -[project.entry-points."console_scripts"] -geemap = "geemap.cli:main" +dependencies = [ + "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.optional-dependencies] all = [ @@ -40,7 +54,6 @@ ai = [ backends = [ "keplergl", "pydeck", - "plotly", ] extra = [ "ee_extra>=0.0.15", @@ -111,14 +124,14 @@ maplibre = [ "xarray", ] +[project.entry-points."console_scripts"] +geemap = "geemap.cli:main" + [tool] [tool.setuptools.packages.find] include = ["geemap*"] exclude = ["docs*"] -[tool.setuptools.dynamic] -dependencies = {file = ["requirements.txt"]} - [tool.distutils.bdist_wheel] universal = true @@ -145,8 +158,6 @@ exclude = [ ] max-line-length = 88 -[tool.setuptools_scm] - [project.urls] Homepage = "https://github.com/gee-community/geemap" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 9c946a1151..0000000000 --- a/requirements.txt +++ /dev/null @@ -1,19 +0,0 @@ -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 -setuptools