Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hatch-nodejs-version for the jupyter-leaflet versioning #1188

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading