Skip to content

Commit 20b0601

Browse files
mgornyrdbisme
authored andcommitted
BUG: install test data
Fix the setup script to install the data for tests. This is necessary for test_template.py to pass.
1 parent 49e290e commit 20b0601

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
@@ -185,7 +185,10 @@ def get_long_description():
185185
platforms="OS Independent",
186186
version=versioneer.get_version(),
187187
packages=find_packages(),
188-
package_data={"bottleneck": ["LICENSE"]},
188+
package_data={
189+
"bottleneck": ["LICENSE"],
190+
"bottleneck.tests": ["data/*/*"],
191+
},
189192
requires=["numpy"],
190193
install_requires=["numpy"],
191194
extras_require={"doc": ["numpydoc", "sphinx", "gitpython"]},

0 commit comments

Comments
 (0)