Skip to content

Commit

Permalink
add sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
tpike3 committed Jun 8, 2024
1 parent 032c968 commit debfbaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/source/environment.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: mesa_geo
channels:
- conda-forge
dependencies:
- python=3.10
- jupyterlite_sphinx
- xeus-python
- geopandas
- numpy
Expand All @@ -20,6 +18,7 @@ dependencies:
- pip>=20.1
- pip:
- mesa~=2.3.0
- jupyterlite_sphinx
- xyzservices>=2022.9.0
- jupyter_bridge

9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit debfbaf

Please sign in to comment.