maturin 1.3.2__py3-none-win32.whl → 1.4.0__py3-none-win32.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.4.0
4
4
  Classifier: Topic :: Software Development :: Build Tools
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -43,12 +43,16 @@ Check out the [User Guide](https://maturin.rs/)!
43
43
 
44
44
  ## Usage
45
45
 
46
- You can either download binaries from the [latest release](https://github.com/PyO3/maturin/releases/latest) or install it with pip:
46
+ 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
47
 
48
48
  ```shell
49
- pip install maturin
49
+ pipx install maturin
50
50
  ```
51
51
 
52
+ > **Note**
53
+ >
54
+ > `pip install maturin` should also work if you don't want to use pipx.
55
+
52
56
  There are four main commands:
53
57
 
54
58
  * `maturin new` creates a new cargo project with maturin configured.
@@ -187,7 +191,7 @@ my-project
187
191
 
188
192
  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
193
 
190
- ```
194
+ ```rust
191
195
  #[pymodule]
192
196
  #[pyo3(name="_lib_name")]
193
197
  fn my_lib_name(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
@@ -200,7 +204,7 @@ fn my_lib_name(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
200
204
  ## Python metadata
201
205
 
202
206
  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`.
207
+ maturin merges metadata from `Cargo.toml` and `pyproject.toml`, `pyproject.toml` takes precedence over `Cargo.toml`.
204
208
 
205
209
  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
210
 
@@ -210,7 +214,7 @@ name = "my-project"
210
214
  dependencies = ["flask~=1.1.0", "toml==0.10.0"]
211
215
  ```
212
216
 
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]`.
217
+ 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
218
  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
219
 
216
220
  ```toml
@@ -0,0 +1,7 @@
1
+ maturin-1.4.0.dist-info/METADATA,sha256=YrxlfKqM12ZGu0EyH2hOwa91XqAwtmzozxnbiCVLFgA,18699
2
+ maturin-1.4.0.dist-info/WHEEL,sha256=eEaDoVVI923Q0McPscoRE3YCc7wvoTjkWhFTp5BeskQ,89
3
+ maturin/import_hook.py,sha256=TsZzWauEAC-xPOnuvy3kn25GM2EGqmcuvzdzS-aAHTE,5771
4
+ maturin/__init__.py,sha256=nues8BiqPJG1hBgdPTNKd8mlxJhV1H069Ez1G-C-MVU,6720
5
+ maturin/__main__.py,sha256=pXjh1oJe1m1JmVwsRwvS22kS3qiGkcLD6r7jbNXTFKA,1031
6
+ maturin-1.4.0.data/scripts/maturin.exe,sha256=EPqa8YR2p82wMxeXOMvOufkUhx_0mYHNPRHOnDnffDU,15766016
7
+ maturin-1.4.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.3.2)
2
+ Generator: maturin (1.4.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-win32
@@ -1,7 +0,0 @@
1
- maturin-1.3.2.dist-info/METADATA,sha256=eNX2_q5G5w6lSyw1-MCrWuMtqFtSdibyZzU4k5Cj0Gg,18569
2
- maturin-1.3.2.dist-info/WHEEL,sha256=RSzwrAXOsWUk6la3lT4xxxrHhTyd-f2XQM337DICRvg,89
3
- maturin/import_hook.py,sha256=TsZzWauEAC-xPOnuvy3kn25GM2EGqmcuvzdzS-aAHTE,5771
4
- maturin/__init__.py,sha256=nues8BiqPJG1hBgdPTNKd8mlxJhV1H069Ez1G-C-MVU,6720
5
- maturin/__main__.py,sha256=pXjh1oJe1m1JmVwsRwvS22kS3qiGkcLD6r7jbNXTFKA,1031
6
- maturin-1.3.2.data/scripts/maturin.exe,sha256=0j8vYDax-DN16m7d7yGqPvjttlTmWKe76mExNOVfJiQ,14677504
7
- maturin-1.3.2.dist-info/RECORD,,