From e5aa9e8095ffccc68e1c027599f8228a67174008 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 26 Jul 2023 12:23:06 +0200 Subject: [PATCH] Exlude tests from discovery / installation Without it tests/ will be installed as a top level Python module. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9e56161d8..0eead40d8 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ keywords=["neuron", "network", "developing", "framework", "biological", "simulation"], # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). - packages=find_packages(exclude=["saveLoadV1"]), + packages=find_packages(exclude=["saveLoadV1", "tests*"]), # List run-time dependencies here. These will be installed by pip when # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: