Skip to content

Commit 82a9b2b

Browse files
committed
finally fix including JSON data files in the package for real
1 parent 77c66f9 commit 82a9b2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"Wyckoff positions",
2626
"Crystal Structure Prediction",
2727
],
28-
package_data={"": ["**/*.json"]}, # include all JSON files in the package
28+
# if any package at most 2 levels under the aviary namespace contains *.json files,
29+
# include them in the package
30+
package_data={"aviary": ["**/**/*.json"]},
2931
python_requires=">=3.7",
3032
install_requires=[
3133
"scipy",

0 commit comments

Comments
 (0)