From 9b60fcad03fb084489b1a8706f17da68724c5435 Mon Sep 17 00:00:00 2001 From: Giovanni Barillari Date: Tue, 21 Mar 2023 14:41:00 +0100 Subject: [PATCH] Review build configuration (#72) --- Cargo.toml | 16 +++++++++++----- pyproject.toml | 6 ------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 74efcc1a..840b6523 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,11 +13,17 @@ homepage = "https://github.com/emmett-framework/granian" repository = "https://github.com/emmett-framework/granian" include = [ - "Cargo.toml", - "LICENSE", - "pyproject.toml", - "README.md", - "src/*" + "/Cargo.toml", + "/pyproject.toml", + "/build.rs", + "/LICENSE", + "/README.md", + "/src", + "/granian", + "/tests", + "!__pycache__", + "!tests/.pytest_cache", + "!*.so", ] [lib] diff --git a/pyproject.toml b/pyproject.toml index 95c37522..bf31a0fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,9 +60,3 @@ build-backend = "maturin" [tool.maturin] bindings = "pyo3" -include = [ - "Cargo.lock", - "granian/*.py", - "granian/*.pyi", - "tests/**/*.py" -]