Skip to content

Commit 710076e

Browse files
authored
Merge pull request #85 from cadenmyers13/ship-examples
bug: Ship examples in `MANIFEST.in`
2 parents a536d4e + 52ccaa9 commit 710076e

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ graft requirements
44

55
include AUTHORS.rst LICENSE*.rst README.rst
66

7+
# include examples inside the package
8+
recursive-include docs/examples *
9+
710
# Exclude all bytecode files and __pycache__ directories
811
global-exclude *.py[cod] # Exclude all .pyc, .pyo, and .pyd files.
912
global-exclude .DS_Store # Exclude Mac filesystem artifacts.

news/ship-examples.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* No news needed.
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

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)