Skip to content

Commit 19dfb62

Browse files
committed
add package-data so the data dir will be included at runtime
1 parent 9e35c84 commit 19dfb62

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ include = ["*"] # package names should match these glob patterns (["*"] by defa
5454
exclude = ["diffpy.labpdfproc.tests*"] # exclude packages matching these glob patterns (empty by default)
5555
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
5656

57+
[tool.setuptools.package-data]
58+
"diffpy.labpdfproc" = ["data/*"]
59+
5760
[tool.setuptools.dynamic]
5861
dependencies = {file = ["requirements/pip.txt"]}
5962

0 commit comments

Comments
 (0)