Skip to content

Commit

Permalink
Use hatch-nodejs-version for the jupyter-leaflet versioning (#1188)
Browse files Browse the repository at this point in the history
* Use hatch-nodejs-version for the jupyter-leaflet versioning

* Update snapshots
  • Loading branch information
martinRenou authored Apr 23, 2024
1 parent 8a96abe commit 8a286fc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions python/ipyleaflet/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ keywords = [
"ipython", "jupyter", "widgets", "graphics", "GIS",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics",
Expand All @@ -38,4 +37,4 @@ dependencies = [
Homepage = "https://github.com/jupyter-widgets/ipyleaflet"

[tool.hatch.build.targets.wheel]
packages = ["ipyleaflet_core", "jupyer_leaflet"]
packages = ["ipyleaflet_core", "jupyer_leaflet"]
3 changes: 1 addition & 2 deletions python/ipyleaflet_core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ keywords = [
"ipython", "jupyter", "widgets", "graphics", "GIS",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics",
Expand Down Expand Up @@ -50,4 +49,4 @@ select = [
# pycodestyle
"E",
]
ignore = ["E501", "E731"]
ignore = ["E501", "E731"]
11 changes: 8 additions & 3 deletions python/jupyter_leaflet/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
requires = [
"hatchling",
"jupyterlab==4.*",
"hatch-nodejs-version>=0.3.2",
]
build-backend = "hatchling.build"

[project]
name = "jupyter-leaflet"
version = "0.18.1"
description = "ipyleaflet extensions for JupyterLab and Jupyter Notebook"
readme = "../../README.md"
authors = [
Expand All @@ -17,7 +17,6 @@ keywords = [
"ipython", "jupyter", "widgets", "graphics", "GIS",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics",
Expand All @@ -29,6 +28,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dynamic = [
"version",
]

[project.urls]
Homepage = "https://github.com/jupyter-widgets/ipyleaflet"
Expand All @@ -39,6 +41,9 @@ artifacts = [
"labextension",
]

[tool.hatch.version]
source = "nodejs"

[tool.hatch.build.targets.wheel.shared-data]
"nbextension" = "share/jupyter/nbextensions/jupyter-leaflet"
"labextension" = "share/jupyter/labextensions/jupyter-leaflet"
Expand Down Expand Up @@ -74,4 +79,4 @@ select = [
# pycodestyle
"E",
]
ignore = ["E501", "E731"]
ignore = ["E501", "E731"]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8a286fc

Please sign in to comment.