maturin 1.3.2__py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl → 1.5.0__py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of maturin might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maturin
3
- Version: 1.3.2
3
+ Version: 1.5.0
4
4
  Classifier: Topic :: Software Development :: Build Tools
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -34,21 +34,23 @@ _formerly pyo3-pack_
34
34
  [![FreeBSD](https://img.shields.io/cirrus/github/PyO3/maturin/main?logo=CircleCI&style=flat-square)](https://cirrus-ci.com/github/PyO3/maturin)
35
35
  [![Chat on Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?logo=gitter&style=flat-square)](https://gitter.im/PyO3/Lobby)
36
36
 
37
- Build and publish crates with pyo3, rust-cpython, cffi and uniffi bindings as well as rust binaries as python packages.
38
-
39
- This project is meant as a zero configuration replacement for [setuptools-rust](https://github.com/PyO3/setuptools-rust) and [milksnake](https://github.com/getsentry/milksnake).
40
- It supports building wheels for python 3.7+ on windows, linux, mac and freebsd, can upload them to [pypi](https://pypi.org/) and has basic pypy and graalpy support.
37
+ Build and publish crates with pyo3, rust-cpython, cffi and uniffi bindings as well as rust binaries as python packages with minimal configuration.
38
+ It supports building wheels for python 3.8+ on windows, linux, mac and freebsd, can upload them to [pypi](https://pypi.org/) and has basic pypy and graalpy support.
41
39
 
42
40
  Check out the [User Guide](https://maturin.rs/)!
43
41
 
44
42
  ## Usage
45
43
 
46
- You can either download binaries from the [latest release](https://github.com/PyO3/maturin/releases/latest) or install it with pip:
44
+ You can either download binaries from the [latest release](https://github.com/PyO3/maturin/releases/latest) or install it with [pipx](https://pypa.github.io/pipx/):
47
45
 
48
46
  ```shell
49
- pip install maturin
47
+ pipx install maturin
50
48
  ```
51
49
 
50
+ > [!NOTE]
51
+ >
52
+ > `pip install maturin` should also work if you don't want to use pipx.
53
+
52
54
  There are four main commands:
53
55
 
54
56
  * `maturin new` creates a new cargo project with maturin configured.
@@ -163,7 +165,7 @@ my-project
163
165
     └── lib.rs
164
166
  ```
165
167
 
166
- > **Note**
168
+ > [!NOTE]
167
169
  >
168
170
  > This structure is recommended to avoid [a common `ImportError` pitfall](https://github.com/PyO3/maturin/issues/490)
169
171
 
@@ -187,7 +189,7 @@ my-project
187
189
 
188
190
  When doing this also be sure to set the module name in your code to match the last part of `module-name` (don't include the package path):
189
191
 
190
- ```
192
+ ```rust
191
193
  #[pymodule]
192
194
  #[pyo3(name="_lib_name")]
193
195
  fn my_lib_name(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
@@ -200,7 +202,7 @@ fn my_lib_name(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
200
202
  ## Python metadata
201
203
 
202
204
  maturin supports [PEP 621](https://www.python.org/dev/peps/pep-0621/), you can specify python package metadata in `pyproject.toml`.
203
- maturin merges metadata from `Cargo.toml` and `pyproject.toml`, `pyproject.toml` take precedence over `Cargo.toml`.
205
+ maturin merges metadata from `Cargo.toml` and `pyproject.toml`, `pyproject.toml` takes precedence over `Cargo.toml`.
204
206
 
205
207
  To specify python dependencies, add a list `dependencies` in a `[project]` section in the `pyproject.toml`. This list is equivalent to `install_requires` in setuptools:
206
208
 
@@ -210,7 +212,7 @@ name = "my-project"
210
212
  dependencies = ["flask~=1.1.0", "toml==0.10.0"]
211
213
  ```
212
214
 
213
- Pip allows adding so called console scripts, which are shell commands that execute some function in you program. You can add console scripts in a section `[project.scripts]`.
215
+ Pip allows adding so called console scripts, which are shell commands that execute some function in your program. You can add console scripts in a section `[project.scripts]`.
214
216
  The keys are the script names while the values are the path to the function in the format `some.module.path:class.function`, where the `class` part is optional. The function is called with no arguments. Example:
215
217
 
216
218
  ```toml
@@ -0,0 +1,7 @@
1
+ maturin-1.5.0.dist-info/METADATA,sha256=13ok0mHMKq_Wb8Rkx50p2ls3mNrGDUyBH7KugkSj_PE,18228
2
+ maturin-1.5.0.dist-info/WHEEL,sha256=6TUz-vzC9rk2ezy5aeNs_eouKmwsSGrvDSYXl4Tkg1E,124
3
+ maturin/import_hook.py,sha256=4Uwi4mBhMh3OlrWYpz2bwRU1mBG7HP2YObpo3vPcNYI,5602
4
+ maturin/__main__.py,sha256=4CyZAGqzmFsCl0FMlxAcG4vHFepE2lRZiPu4MKXyY4Y,987
5
+ maturin/__init__.py,sha256=aIJTh4e2q5Ixr3r7rZRKx6wz0iuPcGutvCqPaBCYVUA,6522
6
+ maturin-1.5.0.data/scripts/maturin,sha256=T4KM-oc0HDR8OcUOHPTW6g_00a3U_KtTxI5H8c60u60,37833192
7
+ maturin-1.5.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.3.1)
2
+ Generator: maturin (1.4.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-manylinux_2_17_s390x.manylinux2014_s390x
@@ -1,7 +0,0 @@
1
- maturin-1.3.2.dist-info/METADATA,sha256=dSyIXuw5E4ENuFbUAkfbyaczPYVl2XeB1r78ME6FZ18,18256
2
- maturin-1.3.2.dist-info/WHEEL,sha256=IcojetuyIsICMsL2LUZJbl61hAJxZrU7OaYJ08ro1RM,124
3
- maturin/import_hook.py,sha256=4Uwi4mBhMh3OlrWYpz2bwRU1mBG7HP2YObpo3vPcNYI,5602
4
- maturin/__init__.py,sha256=aIJTh4e2q5Ixr3r7rZRKx6wz0iuPcGutvCqPaBCYVUA,6522
5
- maturin/__main__.py,sha256=4CyZAGqzmFsCl0FMlxAcG4vHFepE2lRZiPu4MKXyY4Y,987
6
- maturin-1.3.2.data/scripts/maturin,sha256=RL2sSy_eQ43cOyQvdnb8ZSvjyE_CWtfh7GMVA6VZnZ8,37098992
7
- maturin-1.3.2.dist-info/RECORD,,