Skip to content

Commit 6967794

Browse files
committed
Updates readme for linux source builds
1 parent a59e748 commit 6967794

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "c2pa-python"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2021"
55
authors = ["Gavin Peacock <[email protected]"]
66

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,23 @@ Install from PyPI by entering this command:
1414
pip install -U c2pa-python
1515
```
1616

17+
To build from source on Linux, install curl and rustup and set up python
18+
19+
```
20+
apt update
21+
apt install curl
22+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
23+
source "$HOME/.cargo/env"
24+
25+
apt install python3
26+
apt install pip
27+
apt install python3.11-venv
28+
29+
python3 -m venv .venv
30+
source .venv/bin/activate
31+
pip install uniffi-bindgen
32+
pip install -U c2pa-python
33+
```
1734
## Usage
1835

1936
### Import

0 commit comments

Comments
 (0)