Skip to content

Commit 9583122

Browse files
author
mlund
committed
Update readme and lock
1 parent d0b7a7b commit 9583122

File tree

2 files changed

+121
-40
lines changed

2 files changed

+121
-40
lines changed

Cargo.lock

Lines changed: 113 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,22 @@ binary package on pipy.org.
153153
## Create `pip` package using Maturin via a Docker image:
154154

155155
```sh
156-
docker run --rm -v $(pwd):/io ghcr.io/pyo3/maturin publish -u __token__ -p ...
156+
docker run --rm -v $(pwd):/io ghcr.io/pyo3/maturin publish -u __token__ -p PYPI_TOKEN
157157
```
158158

159159
For local Maturin installs, follow the steps below.
160160

161161
```sh
162162
pip install ziglang pipx
163163
pipx install maturin # on ubuntu; then restart shell
164-
maturin publish -u __token__ --target=x86_64-unknown-linux-gnu --zig
164+
maturin publish -u __token__ -p PYPI_TOKEN --target=x86_64-unknown-linux-gnu --zig
165165
```
166166

167167
MacOS targets can be generated without `--zig` using the targets
168168
`x86_64-apple-darwin` and `aarch64-apple-darwin`.
169-
See list of targets with `rustup target list`.
169+
170+
```sh
171+
rustup target list
172+
rustup target add x86_64-apple-darwin
173+
```
174+

0 commit comments

Comments
 (0)