diff --git a/doc/environment.yml b/doc/environment.yml new file mode 100644 index 0000000..0b24e53 --- /dev/null +++ b/doc/environment.yml @@ -0,0 +1,20 @@ +name: qinfer +dependencies: + - cython + - numpy + - scipy + - scikit-learn + - ipython + - future>=0.15 + - matplotlib + - pytest + - pytest-cov + - pytest-xdist + - coveralls + - pylint + - pip: + # We also add additional tools for plotting. + - mpltools + # We use the PyPI version of QuTiP here since the conda version + # is on the wrong channel for use with RTD. + - qutip diff --git a/doc/rtd-requirements.txt b/doc/rtd-requirements.txt deleted file mode 100644 index fe7d12f..0000000 --- a/doc/rtd-requirements.txt +++ /dev/null @@ -1,17 +0,0 @@ -numpy -scipy -scikit-learn -ipython -future>=0.15 -matplotlib -qutip - -# We also add additional tools for plotting. -mpltools - -pytest -pytest-cov -pytest-xdist - -coveralls -pylint diff --git a/readthedocs.yml b/readthedocs.yml new file mode 100644 index 0000000..8d979de --- /dev/null +++ b/readthedocs.yml @@ -0,0 +1,13 @@ +build: + image: latest + +python: + version: 3.5 + setup_py_install: true + +formats: + - epub + - pdf + +conda: + file: ./doc/environment.yml \ No newline at end of file