Migrate to pyproject.toml and pydata theme
This MR migrates from setup.py to pyproject.toml and changes the Sphinx theme to pydata
- I have set up the
pyproject.tomlfile so that there are mandatory dependencies (ase,numpyandscipy), as well astestanddocsdependencies. Then in the Dockerfile/CI we can usepip install strongcoca[docs,test]to install all the dependencies at once, and we don't have to list them in multiple places. - The Dockerfile now contains the somewhat hacky instructions to
- Copy the code and
pyproject.tomlto the container image. - Install strongcoca and all dependencies
- Uninstall strongcoca (but the dependencies are kept)
- Remove the code and
pyproject.tomlfrom the container image
- Copy the code and
- I changed the URL for the webpage to https://strongcoca.materialsmodeling.org/
Edited by Jakub Fojt