Skip to content

Commit 532cd3c

Browse files
committed
Switch from exclude to include patterns for find_packages
This prevents docs/, examples/, tests/ etc. from polluting site-packages. Sorry!
1 parent e6eccd9 commit 532cd3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ classifiers = [
4242
version = { attr = "omemo.version.__version__" }
4343

4444
[tool.setuptools.packages.find]
45-
exclude = [ "tests" ]
45+
include = [ "omemo", "omemo.*" ]
46+
namespaces = false
4647

4748
[project.optional-dependencies]
4849
docs = [

0 commit comments

Comments
 (0)