You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-maturin-1.4.0-1.lbn36.x86_64

python3-maturin-1.4.0-1.lbn36.x86_64

Package Attributes
RPM  python3-maturin-1.4.0-1.lbn36.x86_64.rpm Architecture  x86_64 Size  11764960 Created  2024/01/21 14:54:55 UTC
Package Specification
Summary Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
Group Unspecified
License None
Home Page https://github.com/pyo3/maturin
Description

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.

Requires
rpmlib(PayloadIsZstd)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
Provides
python-maturin
python3-maturin
python3-maturin(x86-64)
python3.10-maturin
python3.10dist(maturin)
python3dist(maturin)
Obsoletes
python-maturin

Document Actions