fix(pyadb_client): add adb_client as a path dependency

This commit is contained in:
LIAUD Corentin
2025-02-11 14:38:20 +01:00
parent 17bb77a472
commit 69107e2333
2 changed files with 14 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ jobs:
run: pip install maturin==1.8.2
- name: Build Python packages
run: maturin build --release -m pyadb_client/Cargo.toml --compatibility manylinux_2_25 --auditwheel=skip
run: maturin build --sdist --release -m pyadb_client/Cargo.toml
publish-python-packages:
runs-on: ubuntu-latest
@@ -39,7 +39,7 @@ jobs:
run: pip install maturin==1.8.2
- name: Publish Python packages
run: maturin publish -m pyadb_client/Cargo.toml --non-interactive --compatibility manylinux_2_25 --auditwheel=skip
run: maturin publish -m pyadb_client/Cargo.toml --non-interactive
env:
MATURIN_PYPI_TOKEN: ${{ secrets.MATURIN_PYPI_TOKEN }}

View File

@@ -1,26 +1,30 @@
[package]
name = "pyadb_client"
description = "Python wrapper for adb_client library"
authors.workspace = true
description = "Python wrapper for adb_client library"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "pyadb_client"
readme = "README.md"
repository.workspace = true
version.workspace = true
readme = "README.md"
[lib]
name = "pyadb_client"
crate-type = ["cdylib", "rlib"]
name = "pyadb_client"
[[bin]]
name = "stub_gen"
doc = false
name = "stub_gen"
[dependencies]
adb_client = { path = "../adb_client" }
anyhow = { version = "1.0.95" }
adb_client = { version = "2.1.5" }
pyo3 = { version = "0.23.4", features = ["extension-module", "anyhow", "abi3-py37"] }
pyo3 = { version = "0.23.4", features = [
"abi3-py37",
"anyhow",
"extension-module",
] }
pyo3-stub-gen = "0.7.0"
pyo3-stub-gen-derive = "0.7.0"
pyo3-stub-gen-derive = "0.7.0"