Skip to content

Commit 632c7de

Browse files
MAINT: remove requirements files by updating pyproject.toml file. (#158)
* remove requirements * Update pyproject.toml
1 parent 7efeb85 commit 632c7de

File tree

6 files changed

+10
-14
lines changed

6 files changed

+10
-14
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22
updates:
33
- package-ecosystem: "pip" # See documentation for possible values
4-
directory: "/requirements" # Location of package manifests
4+
directory: "/" # Location of package manifests
55
insecure-external-code-execution: allow
66
schedule:
77
interval: "daily"

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ dependencies = [
3030
"Jinja2>=3.1.2",
3131
]
3232

33+
[project.optional-dependencies]
34+
doc = [
35+
"numpydoc==1.5.0",
36+
"Sphinx==5.3.0",
37+
"sphinx-copybutton==0.5.1",
38+
"sphinx-notfound-page==0.8.3",
39+
]
40+
3341
[project.entry-points."sphinx.html_themes"]
3442
ansys_sphinx_theme = "ansys_sphinx_theme"
3543

requirements/requirements_build.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

requirements/requirements_doc.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

requirements/requirements_tests.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ commands =
4040

4141
[testenv:doc]
4242
description = Check if documentation generates properly
43-
deps =
44-
-r{toxinidir}/requirements/requirements_doc.txt
45-
allowlist_externals=*
43+
extras = doc
4644
commands =
4745
sphinx-build -d "{toxworkdir}/doc_doctree" doc/source "{toxworkdir}/doc_out" --color -vW -bhtml
48-
touch "{toxworkdir}/doc_out/.nojekyll"
49-
bash -c 'echo "sphinxdocs.ansys.com" > "{toxworkdir}/doc_out/CNAME"'

0 commit comments

Comments
 (0)