forked from Blosc/bcolz
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
157 lines (136 loc) · 3.3 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[project]
name = "bcolz-zipline"
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
"numpy >=1.21",
'packaging'
]
description = "Columnar and compressed data containers."
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "Francesc Alted" },
{ email = "francesc@blosc.org" }
]
maintainers = [
{ name = "Stefan Jansen" },
{ email = "stefan@applied-ai.com" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
license = { file = "LICENSES/BCOLZ.txt" }
[project.urls]
repository = "https://github.com/stefan-jansen/bcolz-zipline"
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
"wheel",
"Cython>=0.22",
"toml",
# Force numpy higher than 2.0rc1, so that built wheels are compatible
# with both numpy 1 and 2
"numpy>=2.0.0rc1",
]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
optional = [
"numexpr>=2.5.2",
"dask>=0.9.0",
"pandas",
"tables"
]
test = [
'tox',
"pytest>= 6.2.3",
"pytest-cov>=2.11.1",
"coveralls==3.0.1",
'pytest-xdist >=2.5.0'
]
dev = [
'ruff',
'pre-commit >=2.12.1',
'Cython>=0.29.21'
]
[tool.setuptools_scm]
write_to = "bcolz/_version.py"
version_scheme = 'guess-next-dev'
local_scheme = 'dirty-tag'
[tool.cibuildwheel]
test-extras = "test"
test-requires = ["numpy"]
test-command = 'python -c "import bcolz; bcolz.test()"'
build-verbosity = 3
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64", "universal2"]
test-skip = ["*universal2:arm64"]
[tool.ruff.lint]
select = ["NPY201"]
[tool.pytest.ini_options]
testpaths = 'bcolz/tests'
addopts = "-v"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
py39-numpy{121,122,123,124,125,126,20}
py310-numpy{121,122,123,124,125,126,20,21}
py311-numpy{123,124,125,126,20,21}
py312-numpy{126,20,21}
clean
report
isolated_build = True
skip_missing_interpreters = True
minversion = 3.23.0
[pytest]
testpaths = bcolz/tests
addopts =
--cov-report=term-missing
--cov-report=html
--cov-report=xml
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
commands = pytest --cov --cov-append {posargs:-vv}
extras = test
deps =
numpy121: numpy>=1.21,<1.22
numpy122: numpy>=1.22,<1.23
numpy123: numpy>=1.23,<1.24
numpy124: numpy>=1.24,<1.25
numpy125: numpy>=1.25,<1.26
numpy126: numpy>=1.26,<2.0
numpy20: numpy>=2.0,<2.1
numpy21: numpy>=2.1,<2.2
depends =
report: py39,py310,py311,py312
{py39,py310,py311,py312}: clean
[testenv:clean]
skip_install = true
deps = coverage
commands =
coverage erase
[testenv:report]
skip_install = true
deps = coverage
commands =
coverage report
"""