Przeglądaj źródła

add: requirements.txt for CI and docs

Mikael Koli 4 lat temu
rodzic
commit
b1a23f2b4e
3 zmienionych plików z 5 dodań i 3 usunięć
  1. 2 0
      requirements/build.txt
  2. 2 0
      requirements/docs.txt
  3. 1 3
      tox.ini

+ 2 - 0
requirements/build.txt

@@ -0,0 +1,2 @@
+matplotlib
+Pillow

+ 2 - 0
requirements/docs.txt

@@ -0,0 +1,2 @@
+sphinx_rtd_theme
+sphinx >= 1.7.5

+ 1 - 3
tox.ini

@@ -25,9 +25,7 @@ commands =
 description = invoke sphinx-build to build the HTML docs
 basepython = python3.8
 deps = 
-    -r{toxinidir}/requirements.txt
-    sphinx_rtd_theme
-    sphinx >= 1.7.5
+    -r{toxinidir}/requirements/docs.txt
 commands = sphinx-build docs "{toxinidir}/docs/_build/html" --color -W -bhtml {posargs}
            sphinx-build -b doctest docs "{toxinidir}/docs/_build/html"
            python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'