Skip to content

Commit 89b083f

Browse files
committed
List characters.json explicitly...
and do not rely on *.json. characters.json specifically needed.
1 parent c758102 commit 89b083f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ def read(*rnames):
5454
# Get/set __version__ and long_description from files
5555
long_description = read("README.rst") + "\n"
5656

57+
is_PyPy = platform.python_implementation() == "PyPy" or hasattr(
58+
sys, "pypy_version_info"
59+
)
5760

58-
is_PyPy = platform.python_implementation() == "PyPy"
5961

6062
# General Requirements
6163
INSTALL_REQUIRES = [
@@ -97,6 +99,7 @@ def subdirs(root, file="*.*", depth=10):
9799
"mathics_scanner": [
98100
"data/named-characters.yml",
99101
"data/*.csv",
102+
"data/characters.json", # List this explicitly since it is needed
100103
"data/*.json",
101104
"data/ExampleData/*",
102105
]

0 commit comments

Comments
 (0)