File: install-test-data.patch

package info (click to toggle)
python-anndata 0.8.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,916 kB
  • sloc: python: 10,162; makefile: 22; sh: 6
file content (18 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Diane Trout <diane@ghic.org>
Description: The upstream test cases assume that they will
 be run from the source tree. When pybuild runs in .pybuild
 it can't find the files.
 They're pretty small so I just went ahead installed them into the
 python source tree
Forwarded: not-needed

--- a/setup.py
+++ b/setup.py
@@ -56,6 +56,7 @@
     python_requires=">=3.6",
     packages=find_namespace_packages(include=["anndata", "anndata.*"]),
     include_package_data=True,
+    package_data={"": ["*.csv", "*.tsv", "*.xlsx"]},
     zip_safe=False,
     classifiers=[
         "Environment :: Console",