Possible improvements on python packaging
-
using src layout -
ease (>=) on package dependencies in the submodules and constrain them in the main (~=) -
python version ?? 3.10 or 3.11 (local oasis) -
test matrix ?
-
-
convert parsers into plugins/extensions VS monolithic package (Distribution package VS individual packages) -
implicit namespaces /src/nomad_lab/parser /src/nomad_lab/gui import nomad_lab.parser import nomad_lab.gui
-
linting: we might ignoring too much warnings (ignore them in the code instead) alternative: black -
run gui
andjupyterhub
independently- gui: is an independent application which depends on some artefacts
-
adding linter
andpytest
configs tomyproject.toml
-
examples: storing examples in a separate repository using git LFS for the zipped files like: https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-fair-examples -
docs: The "compiled" documentation should not be part of the python source distribution. Reasoning: - we need the nomad package to build the documentation which actually should also contain the documentation... Currently the only way to build the python sdist by building it twice.
- most of the other links on the gui are also pointing to external link
- the link of the logo of the documentation redirect to a another page (central deployment) and not to the one where it was actually deployed.