Skip to content

Examples should not be installed #2048

@moubctez

Description

@moubctez

Describe the bug
examples directory gets installed in site-packages.

To Reproduce
Build the wheel.

Expected behaviour
Well… examples are not installed.

Additional context
My patch

--- pyproject.toml.orig	2025-12-22 09:00:06.415451379 +0000
+++ pyproject.toml
@@ -101,6 +101,7 @@ path = "tortoise/__init__.py"
 excludes = [
     "./**/.git",
     "./**/.*_cache",
+    "examples",
 ]
 include = [
     "CHANGELOG.rst",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions