Skip to content

Commit 6c25719

Browse files
committed
Updated docs deps + readthedocs config
1 parent b41c3c2 commit 6c25719

File tree

2 files changed

+21
-31
lines changed

2 files changed

+21
-31
lines changed

.readthedocs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ formats: all
1313
python:
1414
install:
1515
- method: pip
16-
path: .
17-
extra_requirements:
18-
- docs
16+
path: .[docs]

pyproject.toml

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
# process itself. Being able to do this was the original reason to
33
# introduce pyproject.toml
44
[build-system]
5-
requires = [
6-
"setuptools >=61",
7-
"setuptools_scm >=7",
8-
]
5+
requires = ["setuptools >=61", "setuptools_scm >=7"]
96
build-backend = "setuptools.build_meta"
107

118
# This section provides general project metadata that is used across
@@ -16,33 +13,32 @@ name = "sdu_modeling"
1613
description = "sdu_modeling is a Python library for robot modeling and estimation of inertial parameters."
1714
readme = "README.md"
1815
maintainers = [
19-
{ name = "Anders Prier Lindvig", email = "anpl@mmmi.sdu.dk" },
20-
{ name = "Roberto de Nóbrega", email = "rno@mmmi.sdu.dk" },
21-
{ name = "Kasper Høj Lorenzen", email = "kalor@mmmi.sdu.dk" },
16+
{ name = "Anders Prier Lindvig", email = "anpl@mmmi.sdu.dk" },
17+
{ name = "Roberto de Nóbrega", email = "rno@mmmi.sdu.dk" },
18+
{ name = "Kasper Høj Lorenzen", email = "kalor@mmmi.sdu.dk" },
2219
]
2320
dynamic = ["version"]
2421
requires-python = ">=3.8"
2522
license = { text = "MIT" }
2623
classifiers = [
27-
"Programming Language :: Python :: 3",
28-
"Operating System :: OS Independent",
29-
"License :: OSI Approved :: MIT License",
30-
]
31-
dependencies = [
32-
"click",
24+
"Programming Language :: Python :: 3",
25+
"Operating System :: OS Independent",
26+
"License :: OSI Approved :: MIT License",
3327
]
28+
dependencies = ["click"]
3429

3530
[project.optional-dependencies]
36-
tests = [
37-
"pytest"
38-
]
31+
tests = ["pytest"]
3932
docs = [
40-
"sphinx",
41-
"sphinx_mdinclude",
42-
"sphinx.ext.autodoc",
43-
"sphinx_book_theme",
44-
"sphinx_design",
45-
"sphinxcontrib.icon"
33+
"sphinx",
34+
"sphinx_mdinclude",
35+
"sphinx_book_theme",
36+
"sphinx_design",
37+
"sphinx-icon",
38+
"sphinx-copybutton",
39+
"sphinx-tabs",
40+
"sphinxcontrib-bibtex",
41+
"sphinx-multiversion",
4642
]
4743

4844
# Command line scripts installed as part of the installation
@@ -53,9 +49,7 @@ sdu_modeling = "sdu_modeling.__main__:main"
5349
# options. For a full reference of available options, check the overview
5450
# at https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
5551
[tool.setuptools]
56-
packages = [
57-
"sdu_modeling",
58-
]
52+
packages = ["sdu_modeling"]
5953

6054
# Configure setuptools_scm, which extracts the version number from
6155
# the version control system. For more information see its documentation:
@@ -67,6 +61,4 @@ write_to = "sdu_modeling/_version.py"
6761

6862
# The following is the configuration for the pytest test suite
6963
[tool.pytest.ini_options]
70-
testpaths = [
71-
"tests",
72-
]
64+
testpaths = ["tests"]

0 commit comments

Comments
 (0)