Skip to content

Commit b34db74

Browse files
committed
update readme for build and publish process
1 parent 56317a5 commit b34db74

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

BUILD.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
3. run [`build.sh`](./build.sh) on Intel Mac
1414
4. run [`build.sh`](./build.sh) inside docker on Intel Mac
1515

16-
Then run `twine upload --skip-existing target/wheels/*` at all machines.
16+
Then run
17+
```
18+
twine upload --skip-existing target/wheels/*
19+
```
1720

1821
## Build Linux packages in Docker
1922

@@ -24,9 +27,5 @@ docker build -t bgpkit-builder:latest .
2427

2528
Run `docker run --rm -it bgpkit-builder:latest bash` to open a shell in the container
2629
```bash
27-
####
28-
# TODO: copy the content of .pypirc to the root folder
29-
####
30-
3130
bash build.sh
3231
```

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN curl -sS https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.12 ge
1818
RUN curl -sS https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.13 get-pip.py --break-system-packages && rm get-pip.py
1919

2020
# install maturin
21-
RUN python3.13 -m pip install maturin patchelf
21+
RUN python3.13 -m pip install maturin patchelf twine
2222
# install Rust
2323
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2424

0 commit comments

Comments
 (0)