Build and publish crates with pyo3, cffi cand uniffi bindings as well as rust binaries as python packages with minimal configuration. It supports building wheels for python 3.8 + on Windows, LLinux, macOS and FreeBSD,
can upload them to pypi and has basic PyPy and GraalPy support.
pyo3, cffi, uniffi 바인딩을 사용하는 크레이트 (crate) 및 러스트(Rust) 바이너리를 최소한의 설정을 파이썬 패키지로 빌드하고 배포합니다. Windows, Linux, macOS, FreeBSD에서 Python 3.8 이상 버전을 위한 휠(wheel) 빌드를 지원하며, 이를 PyPI에 업로드할 수 있고, 기본적인 PyPI에 업로드할 수 있고, 기본적인 PyPy 및 GraalPy 지원을 포함합니다.
사용법
You can either download binaries from the latest release or install it with pipx or uv:
pipx install maturin
uv tool install maturin
pipx를 사용해서 maturin을 다운로드 할 수 있고, uv를 사용해서 다운로드 하실 수 있습니다.
maturin develop --release
이것은
배포를 만들기 위해서는
maturin build --release
를 사용하면
target/wheels/에 .whl 파일이 생성이됩니다.
확인하셔서
pip install target/wheels/[프로젝트 이름]-*.whl
과 같이 설치하시면 충분합니다.