From 22187402d7136fbeb8825b4b766dda5e62345e9f Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Mon, 16 Mar 2020 17:56:57 +0100 Subject: [PATCH] Explicitely list included packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setuptools doesn’t automatically find packages with no __init__.py file. We have to manually list packages to avoid this limitation, for example for ReadTheDocs installations. --- setup.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 4464d3bcf..45cd3f89b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,7 +38,13 @@ project_urls = Donation = https://www.patreon.com/kozea [options] -packages = find: +packages = + weasyprint + weasyprint.css + weasyprint.formatting_structure + weasyprint.layout + weasyprint.tests + weasyprint.tools zip_safe = false setup_requires = pytest-runner install_requires =