From 4f7731a4cf0c3cb9399dca430d93d09590d17f88 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Fri, 3 Nov 2023 16:38:05 +0100 Subject: [PATCH] Prune development files from package --- pyproject.toml | 13 +++++++++++++ requirements-dev.txt | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5849226..30fc4ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,3 +64,16 @@ build-backend = "maturin" [tool.maturin] features = ["pyo3/extension-module", "pyo3/generate-import-lib"] module-name = "neo4j._codec.packstream._rust" +exclude = [ + "/.editorconfig", + ".gitignore", + ".gitmodules", + ".pre-commit-config.yaml", + "bin/**/*", + "driver/**/*", + "test*/**/*", + "CONTRIBUTING.md", + "requirements*.txt", + "tox.ini", + { path = "neo4j/**/.keep", format = "wheel" } +] diff --git a/requirements-dev.txt b/requirements-dev.txt index ce4bcfe..f2958e1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -11,4 +11,4 @@ pytest freezegun # for packaging -build +maturin