File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Development guide
22
3- You will need to have Python 3 and Charmcraft installed.
3+ You will need to have Python 3, Charmcraft and [ uv ] ( https://docs.astral.sh/uv/ ) installed.
44```
55sudo snap install charmcraft --classic
6+ sudo snap install astral-uv --classic
67```
78
89## Setting up the environment
910
1011Create and activate a virtualenv with the development requirements:
1112
12- virtualenv -p python3 venv
13- source venv/bin/activate
14- pip install -r requirements-dev.txt
13+ ```
14+ uv venv
15+ source .venv/bin/activate
16+ uv pip install ".[dev]"
17+ ```
1518
1619## Testing
1720
@@ -80,4 +83,4 @@ You can also do the upload and release in a single step if you'd like:
8083$ charmcraft upload * .charm --name juju-controller --release latest/stable --release 3.0/stable
8184Revision [XX] of 'juju-controller' created
8285Revision [XX] of charm 'juju-controller' released to latest/stable, 3.0/stable
83- ```
86+ ```
You can’t perform that action at this time.
0 commit comments