7df9ebf22c
Sync labels / sync (push) Failing after 1m9s
Publish Container Image / Build and publish container image (push) Has been cancelled
Deploy Website / Deploy to GitHub Pages (push) Has been cancelled
Deploy Website / Build website and demo (push) Has been cancelled
Deploy viewer / Deploy viewer proxy to Cloudflare Workers (push) Has been cancelled
Deploy tiles / Deploy planetary tile proxy to Cloudflare Workers (push) Has been cancelled
Deploy collab / Deploy collaboration relay to Cloudflare Workers (push) Has been cancelled
CI / Dependency audit (push) Has been cancelled
CI / E2E smoke (Playwright) (push) Has been cancelled
CI / Validate CITATION.cff (push) Has been cancelled
CI / Build and test (push) Has been cancelled
55 lines
1.9 KiB
TOML
55 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "geolibre"
|
|
dynamic = ["version"]
|
|
description = "GeoLibre in Jupyter: the full GeoLibre GIS app as an anywidget, with a leafmap-style Python API."
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = "MIT"
|
|
authors = [{ name = "Qiusheng Wu", email = "giswqs@gmail.com" }]
|
|
keywords = ["geolibre", "gis", "maplibre", "jupyter", "anywidget", "mapping"]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Framework :: Jupyter",
|
|
"Intended Audience :: Science/Research",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Topic :: Scientific/Engineering :: GIS",
|
|
]
|
|
dependencies = ["anywidget>=0.9", "traitlets>=5", "jupyter-ui-poll>=0.2"]
|
|
|
|
[project.optional-dependencies]
|
|
all = ["geopandas", "shapely"]
|
|
dev = ["pytest", "build", "anywidget[dev]", "jupyter-server"]
|
|
|
|
[project.urls]
|
|
Homepage = "https://geolibre.app"
|
|
Repository = "https://github.com/opengeos/GeoLibre"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/geolibre/__init__.py"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/geolibre"]
|
|
# The bundled app under static/ is produced by the build hook and git-ignored,
|
|
# so it must be re-included explicitly here (VCS file discovery skips it).
|
|
artifacts = ["src/geolibre/static/**"]
|
|
|
|
# Install the Jupyter Server config drop-in to {sys.prefix}/etc/jupyter so the
|
|
# bundled app-serving extension (geolibre._load_jupyter_server_extension)
|
|
# auto-enables on `pip install geolibre`, including on managed JupyterHubs.
|
|
[tool.hatch.build.targets.wheel.shared-data]
|
|
"jupyter-config/jupyter_server_config.d/geolibre.json" = "etc/jupyter/jupyter_server_config.d/geolibre.json"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
artifacts = ["src/geolibre/static/**"]
|
|
|
|
[tool.hatch.build.targets.wheel.hooks.custom]
|
|
path = "hatch_build.py"
|
|
|
|
[tool.hatch.build.targets.sdist.hooks.custom]
|
|
path = "hatch_build.py"
|