Skip to content

Commit

Permalink
Move requirements to pyproject.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
naschmitz committed Oct 15, 2024
1 parent 09b7945 commit 274abcc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
35 changes: 23 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 = [
Expand All @@ -40,7 +54,6 @@ ai = [
backends = [
"keplergl",
"pydeck",
"plotly",
]
extra = [
"ee_extra>=0.0.15",
Expand Down Expand Up @@ -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
Expand All @@ -145,8 +158,6 @@ exclude = [
]
max-line-length = 88

[tool.setuptools_scm]


[project.urls]
Homepage = "https://github.com/gee-community/geemap"
Expand Down
19 changes: 0 additions & 19 deletions requirements.txt

This file was deleted.

0 comments on commit 274abcc

Please sign in to comment.