Skip to content

Commit f549856

Browse files
committed
build: fixing file hierachy of testdata; bumping to 0.33.0rc3
1 parent 139e0a8 commit f549856

1 file changed

Lines changed: 26 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "abiftool"
3-
version = "0.33.0rc2"
3+
version = "0.33.0rc3"
44
description = "abiftool parses, converts and analyzes ABIF (Aggregated Ballot Information Format) files."
55
readme = "README.md"
66
requires-python = ">=3.8"
@@ -39,10 +39,31 @@ include-package-data = true
3939

4040
[tool.setuptools.data-files]
4141
"fetchspecs" = ["fetchspecs/*.fetchspec.json"]
42-
"testdata" = [
43-
# Include files from one and two levels deep, but avoid directories
44-
"testdata/*/*.*",
45-
"testdata/*/*/*.*"
42+
43+
# Preserve testdata directory structure by targeting each subfolder explicitly
44+
"testdata/bolson-nameq" = [
45+
"testdata/bolson-nameq/*"
46+
]
47+
"testdata/burl2009" = [
48+
"testdata/burl2009/*"
49+
]
50+
"testdata/california" = [
51+
"testdata/california/*"
52+
]
53+
"testdata/commasep" = [
54+
"testdata/commasep/*"
55+
]
56+
"testdata/mock-elections" = [
57+
"testdata/mock-elections/*"
58+
]
59+
"testdata/questionable" = [
60+
"testdata/questionable/*"
61+
]
62+
"testdata/tenn-example" = [
63+
"testdata/tenn-example/*"
64+
]
65+
"testdata/widjexample" = [
66+
"testdata/widjexample/*"
4667
]
4768

4869
# Ignoring "E501" for now, since it seems to cause autopep8 to break

0 commit comments

Comments
 (0)