setup: exclude tests.
authorwhitequark <whitequark@whitequark.org>
Fri, 29 May 2020 17:45:09 +0000 (17:45 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 13:39:25 +0000 (13:39 +0000)
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

index dd524f091e3f65feb93dbe4531e0dbbdd72fc572..ee53017e0ff9311e5f656df15ede7cdb30ce314e 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ setup(
         "pyvcd~=0.2.0", # for nmigen.pysim
         "Jinja2~=2.11", # for nmigen.build
     ],
-    packages=find_packages(),
+    packages=find_packages(exclude=["*.test*"]),
     entry_points={
         "console_scripts": [
             "nmigen-rpc = nmigen.rpc:main",