Skip to main content

python_version

Function python_version 

Source
pub fn python_version(cargo_version: &str) -> String
Expand description

A Cargo version as the Python package’s metadata writes it (PEP 440, as maturin normalizes it): X.Y.Z-rcN is X.Y.ZrcN; a release is unchanged. The release workflow allows no other pre-release form (scripts/release.py).