Skip to content

Commit

Permalink
MAINT: remove requirements files by updating pyproject.toml file. (
Browse files Browse the repository at this point in the history
…#158)

* remove requirements

* Update pyproject.toml
  • Loading branch information
Revathyvenugopal162 authored Nov 24, 2022
1 parent 53457e9 commit e66c07a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/requirements" # Location of package manifests
directory: "/" # Location of package manifests
insecure-external-code-execution: allow
schedule:
interval: "daily"
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ dependencies = [
"Jinja2>=3.1.2",
]

[project.optional-dependencies]
doc = [
"numpydoc==1.5.0",
"Sphinx==5.3.0",
"sphinx-copybutton==0.5.1",
"sphinx-notfound-page==0.8.3",
]

[project.entry-points."sphinx.html_themes"]
ansys_sphinx_theme = "ansys_sphinx_theme"

Expand Down
2 changes: 0 additions & 2 deletions requirements/requirements_build.txt

This file was deleted.

4 changes: 0 additions & 4 deletions requirements/requirements_doc.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements/requirements_tests.txt

This file was deleted.

6 changes: 1 addition & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ commands =

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

0 comments on commit e66c07a

Please sign in to comment.