Skip to content

Commit

Permalink
update docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
willingc committed Nov 17, 2023
1 parent 7db11f6 commit 1540d56
Showing 1 changed file with 13 additions and 120 deletions.
133 changes: 13 additions & 120 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"


[project]
name = "papermill"
dynamic = ["version"]
description = "Parameterize and run Jupyter and nteract Notebooks"
readme = "README.md"
license = "BSD-3-clause"
Expand Down Expand Up @@ -43,105 +43,7 @@ dependencies = [
"tenacity >= 5.0.2",
"tqdm >= 4.32.2",
]

[project.optional-dependencies]
all = [
"azure-datalake-store >= 0.0.30",
"azure-identity>=1.3.1",
"azure-storage-blob >= 12.1.0",
"black >= 23.11.0",
"boto3",
"gcsfs>=0.2.0",
"pyarrow >= 2.0",
"PyGithub >= 1.55",
"requests >= 2.21.0",
]
azure = [
"azure-datalake-store >= 0.0.30",
"azure-identity>=1.3.1",
"azure-storage-blob >= 12.1.0",
"requests >= 2.21.0",
]
dev = [
"attrs>=17.4.0",
"azure-datalake-store >= 0.0.30",
"azure-identity>=1.3.1",
"azure-storage-blob >= 12.1.0",
"black >= 23.11.0",
"boto3",
"boto3",
"botocore",
"bumpversion",
"check-manifest",
"codecov",
"coverage",
"flake8",
"Flake8-pyproject",
"gcsfs>=0.2.0",
"google_compute_engine",
"ipython>=5.0",
"ipywidgets",
"moto",
"notebook",
"pip>=18.1",
"pre-commit",
"pytest-cov>=2.6.1",
"pytest-env>=0.6.2",
"pytest-mock>=1.10",
"pytest>=4.1",
"recommonmark",
"requests >= 2.21.0",
"requests >= 2.21.0",
"setuptools>=38.6.0",
"twine>=1.11.0",
"wheel>=0.31.0",
]
gcs = [
"gcsfs>=0.2.0",
]
github = [
"PyGithub >= 1.55",
]
hdfs = [
"pyarrow >= 2.0",
]
s3 = [
"boto3",
]
test = [
"attrs>=17.4.0",
"azure-datalake-store >= 0.0.30",
"azure-identity>=1.3.1",
"azure-storage-blob >= 12.1.0",
"black >= 23.11.0",
"boto3",
"boto3",
"botocore",
"bumpversion",
"check-manifest",
"codecov",
"coverage",
"flake8",
"gcsfs>=0.2.0",
"google_compute_engine",
"ipython>=5.0",
"ipywidgets",
"moto",
"notebook",
"pip>=18.1",
"pre-commit",
"pytest-cov>=2.6.1",
"pytest-env>=0.6.2",
"pytest-mock>=1.10",
"pytest>=4.1",
"recommonmark",
"requests >= 2.21.0",
"requests >= 2.21.0",
"setuptools>=38.6.0",
"tox",
"twine>=1.11.0",
"wheel>=0.31.0",
]
dynamic = ["version"]

[project.scripts]
papermill = "papermill.__main__:papermill"
Expand All @@ -154,14 +56,16 @@ Source = "https://github.com/nteract/papermill/"
Tracker = "https://github.com/nteract/papermill/issues"

[tool.hatch.version]
path = "papermill/version.py"
source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "papermill/version.py"

[tool.hatch.build.targets.sdist]
include = [
"/papermill",
]

# Test environment
[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

Expand Down Expand Up @@ -206,28 +110,17 @@ cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hatch_
no-cov = "cov --no-cov"

[tool.hatch.envs.docs]
template="default"
extra-dependencies = [
"azure-datalake-store >= 0.0.30",
"azure-identity>=1.3.1",
"azure-storage-blob >= 12.1.0",
"black >= 23.11.0",
"boto3",
"entrypoints",
"furo>=2023.9.10",
"gcsfs>=0.2.0",
"moto>=4.2.8",
"myst-parser>=2.0.0",
"nbformat",
"pyarrow >= 2.0",
"PyGithub >= 1.55",
"requests >= 2.21.0",
dependencies = [
"sphinx-copybutton>=0.5.2",
"sphinx-autobuild",
"Sphinx>=7.2.6",
]

[tool.hatch.envs.docs.scripts]
build = "sphinx-build docs docs_out --color -W -bhtml"
build-ci = "sphinx-build docs docs_out --color -W -bhtml"
clean = "rm -rf docs_out"
serve = "sphinx-autobuild docs docs_out/index.html"
ci-build = "sphinx-build docs docs_out --color -W -bhtml"

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down

0 comments on commit 1540d56

Please sign in to comment.