You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add pixi install and dev instructions to README (#77)
* Add pixi install and dev instructions to README
* Add CI test config updates
* Add manifest sharing instructions
* Remove manifest path statement in favour of note.
You need [mamba](https://mamba.readthedocs.io/en/latest/) to run the analysis. Users may also prefer to use [micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html) or [conda](https://docs.conda.io/projects/conda/en/latest/index.html). Using `mamba`, you can create an environment from within you can run it:
51
+
You need [pixi](https://pixi.sh/latest/) to run the analysis.
52
+
Once installed, activate your pixi environment in a terminal session:
50
53
51
-
mamba env create -f environment.yaml
54
+
```sh
55
+
pixi shell
56
+
```
52
57
53
-
Activate the newly created `{{project_short_name}}` environment:
58
+
>[!NOTE]
59
+
>`pixi` will create a distinct environment in every project directory, even if you have identical copies of a project cloned locally.
60
+
>As there is a common system-level package cache, `pixi` efficiently conserves disk space in such cases.
61
+
62
+
>[!TIP]
63
+
>If `pixi` isn't working, you can install from one of the fallback `conda` environment files found in `envs`.
64
+
>For more details see [the PyPSA-Eur installation guide](https://pypsa-eur.readthedocs.io/en/latest/installation.html).
65
+
66
+
### Extra soft-fork dependencies
67
+
68
+
If you add dependencies to your project, we recommend you add them to a [new `pixi` environment](https://pixi.sh/v0.21.1/features/multi_environment/#feature-environment-set-definitions).
69
+
For instance, if you need access to `plotly`, want to pin the version of gurobi you are using, and want to add a PyPI dependency:
0 commit comments