Сборка пакета для noarch с помощью Maturin для Python >= 3.9Python

Программы на Python
Anonymous
Сборка пакета для noarch с помощью Maturin для Python >= 3.9

Сообщение Anonymous »


Current Version

I have published a package previously to PyPi and Conda. It was written in pure Python and used some of the following settings in pyproject.toml and was built with the native python -m build:

[build-system] requires = ["setuptools>=61.0.0", "wheel"] build-backend = "setuptools.build_meta" This produces two distribution files: a source and wheels, which are uploaded:

myproject-1.0.0.tar.gz myproject-1.0.0-py3-none-any.whl New Version

To improve performance I have now written some extensions in Rust and used pyo3 bindings, with build system maturin. Everything works locally.

I want to produce these generic distribution files, but obviously I don't fully understand the Python package distribution system.

If I change my pyproject.toml to read:

[build-system] requires = ["maturin>=1.0,

Источник: https://stackoverflow.com/questions/781 ... python-3-9

Вернуться в «Python»