From 0b35cc83e38a08971e791eafd6c3231583c0c755 Mon Sep 17 00:00:00 2001 From: Zhiwei Liang Date: Mon, 24 Nov 2025 16:07:53 -0500 Subject: [PATCH] Prevent recursive build artifact inclusion --- MANIFEST.in | 5 ++++- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 96c48f6d8..d15ca4b00 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,6 @@ +# Include all files under test/ directory in source distribution only graft test + +# Exclude Python bytecode global-exclude *.pyc -include baked_version \ No newline at end of file +global-exclude __pycache__ diff --git a/pyproject.toml b/pyproject.toml index 5098027af..4d8542cfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ Repository = "https://github.com/linode/linode_api4-python.git" version = { attr = "linode_api4.version.__version__" } [tool.setuptools.packages.find] -exclude = ['contrib', 'docs', 'test', 'test.*'] +exclude = ['contrib', 'docs', 'build', 'build.*', 'test', 'test.*'] [tool.isort] profile = "black"