add cocotb as a test dependency (not an install dependency) libresoc_master
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 9 Oct 2020 19:30:40 +0000 (20:30 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 9 Oct 2020 19:30:40 +0000 (20:30 +0100)
setup.py

index 0dec406..02023dc 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,10 @@ setup(
 
     # removing cocotb, causing unnecessary dependency and install problems
     install_requires=["setuptools", "nmigen"],
+
+    # unit tests require cocotb: main operation does not
+    tests_require=['cocotb'],
+
     include_package_data=True,
     packages=find_packages(),
     project_urls={