added maturin metadata
This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
uses: messense/maturin-action@v1
|
uses: messense/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: x86_64
|
target: x86_64
|
||||||
args: --release --out dist -m ./Cargo.toml
|
args: --release --out dist
|
||||||
|
|
||||||
- name: Install built wheel - x86_64
|
- name: Install built wheel - x86_64
|
||||||
run: |
|
run: |
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: Build wheels - universal2
|
- name: Build wheels - universal2
|
||||||
uses: messense/maturin-action@v1
|
uses: messense/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
args: --release --universal2 --out dist --no-sdist -m ./Cargo.toml
|
args: --release --universal2 --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel - universal2
|
- name: Install built wheel - universal2
|
||||||
run: |
|
run: |
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
uses: messense/maturin-action@v1
|
uses: messense/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
args: --release --out dist --no-sdist -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
run: |
|
run: |
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
args: --release --out dist --no-sdist -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
if: matrix.target == 'x86_64'
|
if: matrix.target == 'x86_64'
|
||||||
@@ -145,7 +145,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
manylinux: auto
|
manylinux: auto
|
||||||
args: --release --out dist --no-sdist -i python -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
uses: uraimo/run-on-arch-action@v2.0.5
|
uses: uraimo/run-on-arch-action@v2.0.5
|
||||||
@@ -190,7 +190,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
manylinux: musllinux_1_2
|
manylinux: musllinux_1_2
|
||||||
args: --release --out dist --no-sdist -i python -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||||
@@ -233,7 +233,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
manylinux: musllinux_1_2
|
manylinux: musllinux_1_2
|
||||||
args: --release --out dist --no-sdist -m ./Cargo.toml
|
args: --release --out dist --no-sdist
|
||||||
|
|
||||||
- name: Install built wheel
|
- name: Install built wheel
|
||||||
uses: uraimo/run-on-arch-action@master
|
uses: uraimo/run-on-arch-action@master
|
||||||
|
|||||||
+24
-20
@@ -1,20 +1,24 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rosu-pp-py"
|
name = "rosu-pp-py"
|
||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
description = "osu! difficulty and pp calculation for all modes"
|
description = "osu! difficulty and pp calculation for all modes"
|
||||||
authors = ["Max Ohn <ohn.m@hotmail.de>"]
|
authors = ["Max Ohn <ohn.m@hotmail.de>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "rosu_pp_py"
|
name = "rosu_pp_py"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
pyo3 = { version = "0.15.1", features = ["macros", "extension-module"] }
|
pyo3 = { version = "0.15.1", features = ["macros", "extension-module"] }
|
||||||
rosu-pp = { version = "0.5" }
|
rosu-pp = { version = "0.5" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = "fat"
|
lto = "fat"
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
strip = "debuginfo"
|
strip = "debuginfo"
|
||||||
|
|
||||||
|
[package.metadata.maturin]
|
||||||
|
name = "rosu_pp_py"
|
||||||
|
python-source = "python"
|
||||||
Reference in New Issue
Block a user