Skip to content

Commit

Permalink
Merge pull request #182 from oceanmodeling/bugfix/doc
Browse files Browse the repository at this point in the history
Add missing packages for documentation
  • Loading branch information
SorooshMani-NOAA authored Dec 2, 2023
2 parents b8135a4 + 9ec8a93 commit c628bfc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
11 changes: 6 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
from datetime import datetime
import os
from os import PathLike
from pathlib import Path
import subprocess
import sys

from dunamai import Version
from setuptools import config
from importlib.metadata import metadata


def repository_root(path: PathLike = None) -> Path:
Expand All @@ -42,11 +43,11 @@ def repository_root(path: PathLike = None) -> Path:
)

# -- Project information -----------------------------------------------------
metadata = config.read_configuration('../../setup.cfg')['metadata']
md = metadata('adcircpy')

project = metadata['name']
author = metadata['author']
copyright = f'2021, {author}'
project = md['name']
author = md['author']
copyright = f'{datetime.now().year}, {author}'

# The full version, including alpha/beta/rc tags
try:
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
name = 'adcircpy'
version = '0.0.0'
description = 'Python package for working with ADCIRC input and output files'
authors = ['Zach Burnett <[email protected]>', 'Jaime R Calzada <[email protected]>']
authors = [
'Zach Burnett <[email protected]>',
'Jaime R Calzada <[email protected]>',
'Soroosh Mani <[email protected]>',
]
license = 'GPL-3.0-or-later'
readme = 'README.md'
repository = 'https://github.com/noaa-ocs-modeling/adcircpy.git'
Expand All @@ -21,6 +25,7 @@ enable = true
[tool.poetry.dependencies]
python = '^3.8'
appdirs = '*'
dunamai = { version = '*', optional = true }
geopandas = '<0.11'
haversine = '*'
matplotlib = '*'
Expand Down

0 comments on commit c628bfc

Please sign in to comment.