Skip to content

Commit

Permalink
Move docs/requirements.txt to pyproject.toml
Browse files Browse the repository at this point in the history
also test with Python 3.12
  • Loading branch information
adtzlr committed Jan 17, 2024
1 parent 873f2ec commit f2cc302
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ formats:

python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
path: .
extra_requirements:
- docs
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ ax.set_title(rf"Mooney-Rivlin (C10={parameters['C10']}, C01={parameters['C01']})
![fig_lab-mr](https://github.com/adtzlr/hyperelastic/assets/5793153/1d4bb29b-885f-46d4-80dd-56e255b239eb)

# License
Hyperelastic - Constitutive hyperelastic material formulations for FElupe (C) 2023 Andreas Dutzler, Graz (Austria).
Hyperelastic - Constitutive hyperelastic material formulations for FElupe (C) 2024 Andreas Dutzler, Graz (Austria).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# import hyperelastic

project = "Hyperelastic"
copyright = "2023, Andreas Dutzler"
copyright = "2024, Andreas Dutzler"
author = "Andreas Dutzler"

# -- General configuration ---------------------------------------------------
Expand Down
3 changes: 0 additions & 3 deletions docs/requirements.txt

This file was deleted.

8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,25 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Utilities"
]
dynamic = ["version"]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"numpy",
"scipy",
"matplotlib",
]

[project.optional-dependencies]
docs = [
"pydata-sphinx-theme",
"sphinx-copybutton",
"myst-nb",
]
test = [
"felupe",
"sympy",
Expand Down

0 comments on commit f2cc302

Please sign in to comment.