29 lines
494 B
Markdown
29 lines
494 B
Markdown
# Materia Environment Setup
|
|
|
|
We use `uv` as our Python package manager for faster, more reliable dependency management.
|
|
https://docs.astral.sh/uv/
|
|
|
|
### 1. Install UV
|
|
|
|
```bash
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
```
|
|
|
|
### 2. Setup the env
|
|
Simply run
|
|
```bash
|
|
uv sync
|
|
```
|
|
This will install python & the dependencies declared so far
|
|
|
|
### 3. Adding a dependency
|
|
|
|
```bash
|
|
uv add requests
|
|
```
|
|
|
|
# Managing a project with uv
|
|
|
|
https://docs.astral.sh/uv/guides/projects/#managing-dependencies
|
|
|