From debfbaf5d813e292ddcd665eae41fcde243e0511 Mon Sep 17 00:00:00 2001 From: Tom Pike Date: Sat, 8 Jun 2024 13:07:49 -0400 Subject: [PATCH] add sdist --- docs/source/environment.yml | 3 +-- pyproject.toml | 9 +++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/source/environment.yml b/docs/source/environment.yml index 73cf8a50..e3d20571 100644 --- a/docs/source/environment.yml +++ b/docs/source/environment.yml @@ -1,9 +1,7 @@ name: mesa_geo -channels: - conda-forge dependencies: - python=3.10 - - jupyterlite_sphinx - xeus-python - geopandas - numpy @@ -20,6 +18,7 @@ dependencies: - pip>=20.1 - pip: - mesa~=2.3.0 + - jupyterlite_sphinx - xyzservices>=2022.9.0 - jupyter_bridge diff --git a/pyproject.toml b/pyproject.toml index 41e63136..2aa9c3b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,11 +61,16 @@ docs = [ "jupyterlite-xeus>=0.1.8,<0.2.0", ] +[tool.hatch.build.targets.sdist] +include = [ + "/mesa_geo", +] + [tool.hatch.envs.docs] features = ["docs"] [tool.hatch.envs.docs.scripts] -build = "sphinx-build -b html docs/source docs/build/html" -serve = "python -m http.server --directory docs/build/html" +build = "sphinx-build -M html docs/dource/ docs/build/" +serve = "python -m http.server --directory docs/build/" #extend-exclude = ["docs", "build"] # Hardcode to Python 3.10.