From b0470c7da1ee9e2b41b487d3a9d891f839183194 Mon Sep 17 00:00:00 2001 From: Andreas Galauner Date: Wed, 1 Sep 2021 05:03:20 +0200 Subject: [PATCH] Add docs static files to package_data in setup.py This patch adds the static files needed for the documentation to the `package_data` field in `setup.py`. I ran into failures when generating documentation after installing litex using pipenv which didn't copy these files which in turn caused the documentation generation to fail. This change causes all files in the `static` subfolder of the litex.soc.doc module to be installed as well. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 1273cc101..133aa79ff 100755 --- a/setup.py +++ b/setup.py @@ -22,6 +22,9 @@ setup( ], packages=find_packages(exclude=("test*", "sim*", "doc*")), include_package_data=True, + package_data={ + 'litex.soc.doc': ['static/*'] + }, platforms=["Any"], keywords="HDL ASIC FPGA hardware design", classifiers=[