diff --git a/setup.py b/setup.py index 4edf1a147..cd34e2384 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ with open("README.md", "r", encoding="utf-8") as f: # long_description = re.sub(r"\n- \[.*\]\(.*\)", "", long_description) # Discover packages, plus the website -packages = find_packages(exclude=["benchmark"]) + ["aider.website"] +packages = find_packages(exclude=["benchmark", "tests"]) + ["aider.website"] print("Discovered packages:", packages) extras = "dev hf-embed browser playwright".split() diff --git a/aider/tests/__init__.py b/tests/__init__.py similarity index 100% rename from aider/tests/__init__.py rename to tests/__init__.py diff --git a/aider/tests/test_coder.py b/tests/test_coder.py similarity index 100% rename from aider/tests/test_coder.py rename to tests/test_coder.py diff --git a/aider/tests/test_commands.py b/tests/test_commands.py similarity index 100% rename from aider/tests/test_commands.py rename to tests/test_commands.py diff --git a/aider/tests/test_editblock.py b/tests/test_editblock.py similarity index 100% rename from aider/tests/test_editblock.py rename to tests/test_editblock.py diff --git a/aider/tests/test_help.py b/tests/test_help.py similarity index 100% rename from aider/tests/test_help.py rename to tests/test_help.py diff --git a/aider/tests/test_io.py b/tests/test_io.py similarity index 100% rename from aider/tests/test_io.py rename to tests/test_io.py diff --git a/aider/tests/test_main.py b/tests/test_main.py similarity index 100% rename from aider/tests/test_main.py rename to tests/test_main.py diff --git a/aider/tests/test_models.py b/tests/test_models.py similarity index 100% rename from aider/tests/test_models.py rename to tests/test_models.py diff --git a/aider/tests/test_repo.py b/tests/test_repo.py similarity index 100% rename from aider/tests/test_repo.py rename to tests/test_repo.py diff --git a/aider/tests/test_repomap.py b/tests/test_repomap.py similarity index 100% rename from aider/tests/test_repomap.py rename to tests/test_repomap.py diff --git a/aider/tests/test_sendchat.py b/tests/test_sendchat.py similarity index 100% rename from aider/tests/test_sendchat.py rename to tests/test_sendchat.py diff --git a/aider/tests/test_udiff.py b/tests/test_udiff.py similarity index 100% rename from aider/tests/test_udiff.py rename to tests/test_udiff.py diff --git a/aider/tests/test_urls.py b/tests/test_urls.py similarity index 100% rename from aider/tests/test_urls.py rename to tests/test_urls.py diff --git a/aider/tests/test_wholefile.py b/tests/test_wholefile.py similarity index 100% rename from aider/tests/test_wholefile.py rename to tests/test_wholefile.py