From 8641fc0948e224b3ebc204e3b08179089e0329d5 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 9 Oct 2020 20:30:40 +0100 Subject: [PATCH] add cocotb as a test dependency (not an install dependency) --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 9413655..b57c2e4 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,10 @@ setup( # removing cocotb, causing unnecessary dependency and install problems install_requires=["setuptools", "nmigen", "nmigen-soc", "modgrammar"], + + # unit tests require cocotb: main operation does not + tests_require=['cocotb'], + include_package_data=True, packages=find_packages(), project_urls={ -- 2.30.2