Skip to content

Commit

Permalink
Explicitely list included packages
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
liZe committed Mar 16, 2020
1 parent a756ea1 commit 2218740
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 2218740

Please sign in to comment.