From 34a78bbeef2d920df4ea0c787c2071fa270d090b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 31 Dec 2021 15:14:37 +0000 Subject: [PATCH] setup.py: Exclude "tests" package 67b957d moved the tests from nmigen/test/ to tests/, and removed the exclude= parameter from find_packages() in setup.py. However, even if the new location is not inside the module tree, it is still found by find_packages(), resulting in a stray "tests" module on the system. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fff8dd1..2dc3b99 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( extras_require={ "remote-build": ["paramiko~=2.7"], }, - packages=find_packages(), + packages=find_packages(exclude=["tests*"]), entry_points={ "console_scripts": [ "nmigen-rpc = nmigen.rpc:main", -- 2.30.2