forked from yt-project/ewah_bool_utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
97 lines (85 loc) · 2.22 KB
/
pyproject.toml
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[build-system]
requires = [
"setuptools>=61.2",
# see https://github.com/yt-project/ewah_bool_utils/issues/52
"Cython>=3.0, <3.1",
# TODO: simplify numpy requirement after numpy 1.26.0 final is released
"oldest-supported-numpy ; python_version < '3.9'",
"numpy>=1.25, <2.0 ; python_version >= '3.9' and python_version < '3.12.0rc1'",
"numpy>=1.26.0b1, <2.0; python_version >= '3.12.0rc1'",
]
[project]
name = "ewah_bool_utils"
version = "1.1.0rc2"
description = "EWAH Bool Array utils for yt"
authors = [
{ name = "Matthew Turk" },
{ name = "Meagan Lang" },
{ name = "Navaneeth Suresh" },
]
requires-python =">=3.8"
dependencies = [
# match the absolute oldest version of numpy with *any*
# level of support for our minimal Python requirement
# https://github.com/scipy/oldest-supported-numpy/issues/76#issuecomment-1628865694
# after Python 3.8 is dropped, keep in sync with NPY_TARGET_VERSION (setup.py)
"numpy>=1.17.3",
]
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.license]
text = "BSD"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.urls]
Homepage = "https://github.com/yt-project/ewah_bool_utils"
[tool.setuptools]
license-files = [
"LICENSE",
]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.ruff]
target-version = "py38" # https://github.com/charliermarsh/ruff/issues/2039
exclude = ["*__init__.py"]
ignore = ["E501"]
select = [
"E",
"F",
"W",
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"YTT", # flake8-2020
"I", # isort
"UP", # pyupgrade
]
[tool.ruff.isort]
combine-as-imports = true