Skip to content

Commit

Permalink
add dependencies for doc in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi-FanLi committed Dec 16, 2023
1 parent a84e9a4 commit fd69223
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,20 @@ dependencies = [
[project.urls]
homepage = "https://github.com/deepmodeling/dpti"

[project.optional-dependencies]
# docs = ["sphinx", "recommonmark", "sphinx_rtd_theme"]

[project.scripts]
dpti = "dpti.main:main"

[project.optional-dependencies]
docs = [
'sphinx',
'myst-parser',
'sphinx_rtd_theme>=1.0.0rc1',
'numpydoc',
'deepmodeling_sphinx>=0.1.1',
'dargs>=0.3.1',
'sphinx-argparse',
]

[tool.setuptools.packages.find]
include = ["dpti*"]

Expand Down

0 comments on commit fd69223

Please sign in to comment.