!!This feature is still experimental!!
Dependencies are defined in pyproject.toml file
There are two kinds of dependencies :
- pypi which are defined in standard pyproject section according to the PEPs. Those dependencies can be installed either with uv astral or pixi
- conda (python or other) which can only be installed with pixi
uv only handles pypi (pure python) dependencies. pixi uses uv for pypi dependencies and conda for others. pixi implements tasks using Deno shell (lightweight posix shell compatible with linux windows and macos).
- if you only want to use python dependencies uv is just fine (for example for autocompletion in your editor)
- if you want requirements installations for aster compilation + tasks you should pixi
!!This feature is still experimental!!
We provide several tasks to ease compilation, when executed those tasks will update environments and then run tasks. Tasks can depend on other ones for instance test task depends on build -> build will be triggered every time you run test.
- To list all available tasks :
pixi task listNote
pixi r is a shortcut for pixi run
As a starting point, here is how you can install aster using pixi tasks:
pixi r configure
pixi r installShortcut to run_aster executable:
pixi r start ....or if you want to install aster and then use run_ctest (usefull for development iterations):
pixi r test -R "zzzz" ....Pixi provides the capacity to handle several environments in a single project. It's usefull to isolate dependencies and avoid dependency conflicts.
To list all available project pixi environments:
pixi workspace environment listEdf users can install pixi using this procedure pixi install edf