Сборка пакета для noarch с помощью Maturin для Python >= 3.9 ⇐ Python
Сборка пакета для noarch с помощью Maturin для Python >= 3.9
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
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
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Сборка maturin завершается с ошибкой после добавления опции сборки --sdist
Anonymous » » в форуме Python - 0 Ответы
- 21 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Как установить GOLD-11.45-1.noarch на виртуальную машину RedHat [закрыто]
Anonymous » » в форуме Linux - 0 Ответы
- 23 Просмотры
-
Последнее сообщение Anonymous
-