From d7b2c9804af34b61d08d8697e3821f8dec4511a3 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Mon, 27 Feb 2023 23:56:49 +0100 Subject: [PATCH] Add tests and doc to sdist --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 930665d38c..8a7c8e9e88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,8 +76,10 @@ tag-pattern = '^rel-(?P[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$' version-file = "aesara/_version.py" [tool.hatch.build] +# While the sdist can be made much smaller by omiting the docs, +# it is useful to certain people to include the docs and tests. +# Ref: exclude = [ - "/tests", "/.github", "/.flake8", "/.gitignore", @@ -85,10 +87,8 @@ exclude = [ "/.pre-commit-config.yaml", "/CODE_OF_CONDUCT.md", "/CONTRIBUTING.md", - "/doc", "Makefile", "codecov.yml", - "conftest.py", "environment-arm.yml", "environment.yml", "readthedocs.yml",