From 51ecf7a4a9e28114575ea6674e1168bbf7e00d08 Mon Sep 17 00:00:00 2001 From: Kevin Phoenix Date: Mon, 1 May 2023 17:19:03 -0700 Subject: [PATCH] Add pyproject.toml to python bindings --- bindings/pylibafl/.gitignore | 1 + bindings/pylibafl/pyproject.toml | 20 ++++++++++++++++++++ bindings/pylibafl/rust-toolchain | 1 - 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 bindings/pylibafl/.gitignore create mode 100644 bindings/pylibafl/pyproject.toml delete mode 100644 bindings/pylibafl/rust-toolchain diff --git a/bindings/pylibafl/.gitignore b/bindings/pylibafl/.gitignore new file mode 100644 index 0000000000..849ddff3b7 --- /dev/null +++ b/bindings/pylibafl/.gitignore @@ -0,0 +1 @@ +dist/ diff --git a/bindings/pylibafl/pyproject.toml b/bindings/pylibafl/pyproject.toml new file mode 100644 index 0000000000..cf9013dfba --- /dev/null +++ b/bindings/pylibafl/pyproject.toml @@ -0,0 +1,20 @@ +[build-system] +requires = ["maturin>=0.14.10,<0.15"] +build-backend = "maturin" + +[project] +name = "PyLibAFL" +version = "0.10.0" +description = "Advanced Fuzzing Library for Python" +readme = "README.md" +requires-python = ">=3.8" +license = "MIT OR Apache-2.0" + +[project.urls] +repository = "https://github.com/AFLplusplus/LibAFL.git" + +[tool.maturin] +bindings = "pylibafl" +manifest-path = "Cargo.toml" +python-source = "python" +all-features = true diff --git a/bindings/pylibafl/rust-toolchain b/bindings/pylibafl/rust-toolchain deleted file mode 100644 index bf867e0ae5..0000000000 --- a/bindings/pylibafl/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -nightly