File: Explicitly-add-subpackages.patch

package info (click to toggle)
python-asdf 2.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,248 kB
  • sloc: python: 13,104; makefile: 125
file content (48 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From: Ole Streicher <olebole@debian.org>
Date: Thu, 5 Dec 2019 12:06:40 +0100
Subject: Explicitly add subpackages

This somehow works around #940728, although I do not completely
understand it. It does however not include asdf.tests, since the tests
defined there seem to be buggy.

Closes: #940720
---
 MANIFEST.in |  1 +
 setup.cfg   | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/MANIFEST.in b/MANIFEST.in
index a9e498e..5e2b2c1 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -13,6 +13,7 @@ recursive-include cextern *
 recursive-include scripts *
 recursive-include asdf-standard/schemas *.yaml
 recursive-include asdf-standard/reference_files *
+recursive-include asdf *.yaml *.diff *.asdf *.fits *.fits.gz *.json
 
 # Python version specific compatibility packages, normally excluded by default
 # depending on the Python version doing the building
diff --git a/setup.cfg b/setup.cfg
index b40e5e2..02fa6f6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,17 @@ packages =
 	asdf.schemas
 	asdf.reference_files
 	pytest_asdf
+	asdf.commands
+	asdf.commands.tests
+	asdf.commands.tests.data
+	asdf.compat
+	asdf.extern
+	asdf.tags
+	asdf.tags.core
+	asdf.tags.core.tests
+	asdf.tags.core.tests.data
+	asdf.tests
+	asdf.tests.data
 package_dir = 
 	asdf.schemas = asdf-standard/schemas
 	asdf.reference_files = asdf-standard/reference_files