Skip to content

Commit

Permalink
update readthedocs to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael J. Wilson committed Jan 31, 2024
1 parent 36df72c commit 0df6b19
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ python/foundation/*.so
tests/__pycache__/
docs/_static
docs/_templates
docs/build/latex/
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ sphinx:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- requirements: pyproject.toml
4 changes: 0 additions & 4 deletions docs/requirements.txt

This file was deleted.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
Expand All @@ -6,11 +7,15 @@ build-backend = "maturin"
name = "foundation"
version = "0.0.1"
description = "Foundation directory with basic setup"
authors = ["Michael J. Wilson"]
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
requires-python = ">=3.9.18"
dependencies = [
"numpy",
"furo"="^2024.1.29",
"sphinx"="7.1.2",
"sphinx-rtd-theme"="1.3.0rc1",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 0df6b19

Please sign in to comment.