setup_pixi_env¶
- pyrosetta.tests.distributed.cluster.setup_pixi_env.setup_pixi_environment(env_dir)¶
Create a fresh pixi environment containing ‘pyrosetta’ and ‘pyrosetta-distributed’ packages.
Note: this requires that pixi is an executable installed and on ${PATH}. This function: - detects the current Python version - detects the current platform (linux/mac/windows) - writes a compatible ‘pixi.toml’ file - runs pixi install to build a new pixi environment