-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (66 loc) · 1.69 KB
/
pyproject.toml
File metadata and controls
72 lines (66 loc) · 1.69 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[project]
name = "abiftool"
version = "0.34.0rc1"
description = "abiftool parses, converts and analyzes ABIF (Aggregated Ballot Information Format) files."
readme = "README.md"
requires-python = ">=3.8"
license = {text = "GPL-3.0"}
authors = [
{ name = "Rob Lanphier", email = "robla@robla.net" }
]
dependencies = [
"BeautifulSoup4",
"graphviz",
"openpyxl",
"pandas",
"requests",
"Texttable"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Sociology :: History"
]
[project.scripts]
"abiftool.py" = "abiftool.py:main"
"fetchmgr.py" = "fetchmgr.py:main"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = ["abiftool", "fetchmgr"]
packages = ["abiflib"]
include-package-data = true
[tool.setuptools.data-files]
"fetchspecs" = ["fetchspecs/*.fetchspec.json"]
# Preserve testdata directory structure by targeting each subfolder explicitly
"testdata/bolson-nameq" = [
"testdata/bolson-nameq/*"
]
"testdata/burl2009" = [
"testdata/burl2009/*"
]
"testdata/california" = [
"testdata/california/*"
]
"testdata/commasep" = [
"testdata/commasep/*"
]
"testdata/mock-elections" = [
"testdata/mock-elections/*"
]
"testdata/questionable" = [
"testdata/questionable/*"
]
"testdata/tenn-example" = [
"testdata/tenn-example/*"
]
"testdata/widjexample" = [
"testdata/widjexample/*"
]
# Ignoring "E501" for now, since it seems to cause autopep8 to break
# up f-strings in an unpredictable way.
[tool.autopep8]
ignore = "E501"