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

Add missing packages for documentation #182

Merged
merged 1 commit into from
Dec 2, 2023
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
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
Loading