From 9c80c32c306c4cd9483821e3503141111ed7ffde Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 29 May 2020 17:45:09 +0000 Subject: [PATCH] setup: exclude tests. The inclusion of tests in the package was completely unintentional and a result of my lack of knowledge of setuptools. If you are using nmigen.test.utils, please copy the parts you need to your own code because the nmigen.test code can and will change without notice. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3cd0699..85a16e6 100644 --- a/setup.py +++ b/setup.py @@ -29,11 +29,11 @@ setup( "pyvcd~=0.2.0", # for nmigen.pysim "Jinja2~=2.11", # for nmigen.build ], - extras_require = { + extras_require={ # this version requirement needs to be synchronized with the one in nmigen.back.verilog! "builtin-yosys": ["nmigen-yosys>=0.9.*"], }, - packages=find_packages(), + packages=find_packages(exclude=["*.test*"]), entry_points={ "console_scripts": [ "nmigen-rpc = nmigen.rpc:main", -- 2.30.2