Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages

There are four 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 possible to upload those with twine or maturin upload. 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. pyo3 and rust-cpython bindings are automatically detected, for cffi or binaries you need to pass -b cffi or -b bin. maturin doesn't need extra configuration files and doesn't clash with an existing setuptools-rust or milksnake configuration. You can even integrate it with testing tools such as tox. There are examples for the different bindings in the test-crates folder. The name of the package will be the name of the cargo project, i.e. the name field in the [package] section of Cargo.toml. The name of the module, which you are using when importing, will be the name value in the [lib] section (which defaults to the name of the package). For binaries, it's simply the name of the binary generated by cargo.
RPM
python3-maturin-1.4.0-1.lbn36.x86_64.rpm
Summary
Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
URL
https://github.com/pyo3/maturin
Group
Unspecified
License
None
Source
python-maturin-1.4.0-1.lbn36.src.rpm
Checksum
0c7262e17300a078589dbcf25861ce940535b8bdd92fe5d2c1a350a5e2d5c0f0
Build Date
2024/01/04 13:32:26
Requires
python3.10dist(tomli) >= 1.1
Provides
python-maturin = 1.4.0-1.lbn36
python3-maturin = 1.4.0-1.lbn36
python3-maturin(x86-64) = 1.4.0-1.lbn36
python3.10-maturin = 1.4.0-1.lbn36
python3.10dist(maturin) = 1.4
python3dist(maturin) = 1.4
Obsoletes