doc: Add macOS uv instructions to installations.md
Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
5345e71727
commit
0738ea6b35
@@ -344,17 +344,14 @@ export CPATH=/opt/homebrew/include
|
||||
export LIBRARY_PATH=/opt/homebrew/lib
|
||||
```
|
||||
|
||||
If you need Python 3.x for mako (or get a mako build error):
|
||||
Install uv for Python dependency management:
|
||||
|
||||
```shell
|
||||
brew install pyenv
|
||||
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
|
||||
source ~/.bash_profile
|
||||
pyenv install 3.9
|
||||
pip install --upgrade pip
|
||||
pip install poetry==2.0.1
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
After installing uv, restart your shell or run `source ~/.zshrc` to ensure `uv` is in your PATH.
|
||||
|
||||
If you don't have bitcoind installed locally you'll need to install that as well:
|
||||
|
||||
```shell
|
||||
@@ -382,9 +379,9 @@ git checkout v24.05
|
||||
Build lightning:
|
||||
|
||||
```shell
|
||||
poetry install
|
||||
uv sync --all-extras --all-groups
|
||||
./configure
|
||||
poetry run make
|
||||
uv run make
|
||||
```
|
||||
|
||||
Running lightning:
|
||||
|
||||
Reference in New Issue
Block a user