Skip to content

Commit

Permalink
Build Python package with abi3 support
Browse files Browse the repository at this point in the history
This allows the package to be used on any Python version >= 3.6
  • Loading branch information
cberner committed Jan 15, 2021
1 parent 24235dd commit 6d0f5e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
serde = {version = "1.0.102", features=["std", "derive"], optional = true}
pyo3 = {version = "0.12", features=["extension-module"], optional = true }
pyo3 = {version = "0.13", features=["extension-module", "abi3-py36"], optional = true }

[dev-dependencies]
criterion = "0.3"
Expand Down Expand Up @@ -48,7 +48,7 @@ python = ["pyo3"]
serde_support = ["serde"]

[package.metadata.maturin]
requires-python = ">= 3.5"
requires-python = ">= 3.6"
classifier = ["Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
Expand Down

0 comments on commit 6d0f5e1

Please sign in to comment.