From f373fc7cc29e176a99e1a1c08194eb9af159762d Mon Sep 17 00:00:00 2001 From: Morgan Williams Date: Fri, 21 Jul 2023 14:24:36 +0800 Subject: [PATCH] Modify package build and manifest --- MANIFEST.in | 2 +- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 594ec486..20a0dfff 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,4 +9,4 @@ recursive-include pyrolite/data/radii * recursive-include pyrolite/data/timescale * recursive-include pyrolite/data/testing * recursive-include pyrolite/data/_config * -# global-exclude __pycache__ +global-exclude **/__pycache__/* diff --git a/pyproject.toml b/pyproject.toml index b828f009..50cf3109 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,8 @@ dependencies = [ ] [tool.setuptools.packages] -find = {} +find = { exclude = ['test*', "docs*"] } # "**/__pycache__/*" +# include = ["Aitchison/*.py"], [tool.setuptools.dynamic] readme = { file = "README.md" }