diff --git a/README.md b/README.md index 76dfe60ec..40458712e 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,9 @@ uv tool install maturin > > `pip install maturin` should also work if you don't want to use pipx. -There are four main commands: +There are three main commands: - `maturin new` creates a new cargo project with maturin configured. -- `maturin publish` builds the crate into python packages and publishes them to pypi. - `maturin build` builds the wheels and stores them in a folder (`target/wheels` by default), but doesn't upload them. It's recommended to publish packages with [uv](https://github.com/astral-sh/uv) using `uv publish`. - `maturin develop` builds the crate and installs it as a python module directly in the current virtualenv. Note that while `maturin develop` is faster, it doesn't support all the feature that running `pip install` after `maturin build` supports. diff --git a/guide/src/tutorial.md b/guide/src/tutorial.md index 290b594ae..3c39ca0de 100644 --- a/guide/src/tutorial.md +++ b/guide/src/tutorial.md @@ -288,8 +288,8 @@ wheels compatible with a wide range of Linux distros. 📦 Built wheel for abi3 Python ≥ 3.8 to /Users/ferris/src/rust/guessing-game/target/wheels/guessing_game-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl ``` -maturin can even publish wheels directly to [PyPI](https://pypi.org) with -`maturin publish`! +To make your package available to others on [PyPI](https://pypi.org), use [`uv publish`](https://docs.astral.sh/uv/guides/package/#publishing-your-package) +or [`twine upload`](https://twine.readthedocs.io/en/stable/). ## Summary