Skip to content

Commit 52ccaa9

Browse files
committed
include examples in manifest.in and pyproject.toml
1 parent 7be150d commit 52ccaa9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ graft requirements
55
include AUTHORS.rst LICENSE*.rst README.rst
66

77
# include examples inside the package
8-
recursive-include src/diffpy/cmi/docs/examples *
8+
recursive-include docs/examples *
99

1010
# Exclude all bytecode files and __pycache__ directories
1111
global-exclude *.py[cod] # Exclude all .pyc, .pyo, and .pyd files.

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,9 @@ exclude = '''
8787
| tests/data
8888
)/
8989
'''
90+
91+
[tool.setuptools]
92+
include-package-data = true
93+
94+
[tool.setuptools.package-data]
95+
"diffpy.cmi" = ["../docs/examples/**/*"]

0 commit comments

Comments
 (0)