-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
113 lines (98 loc) · 2.52 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
[build-system]
requires = [
"cmake",
"ninja",
"pybind11[global]",
"scikit-build",
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "cpp"
authors = [{name = "Tim Paine", email = "t.paine154@gmail.com"}]
description="A Python/C++ project template"
version = "0.1.0"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: C++",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
keywords = []
dependencies = [
"pandas",
"pyarrow",
]
[project.optional-dependencies]
develop = [
"black>=23",
"bump2version",
"check-manifest",
"cibuildwheel",
"numpy",
"pandas",
"pyarrow",
"pybind11[global]",
"pytest",
"pytest-cov",
"pytest-sugar",
"ruff",
"scikit-build",
"twine",
"wheel",
]
test = [
"pytest",
"pytest-cov",
"pytest-sugar",
]
[project.urls]
Repository = "https://github.com/timkpaine/arrow-cpp-python-nocopy"
Homepage = "https://github.com/timkpaine/arrow-cpp-python-nocopy"
Issues = "https://github.com/timkpaine/arrow-cpp-python-nocopy/issues"
[tool.black]
color = true
line-length = 170
target-version = ["py310"]
skip-string-normalization = true
[tool.check-manifest]
ignore = []
[tool.cibuildwheel]
build = "cp38-* cp39-* cp310-* cp311-*"
before-all = "make develop"
build-verbosity = "2"
environment = {STATIC_PYTHON="On"}
test-command = "pytest -vvv {project}/arrow_python_nocopy/tests"
test-requires = [
"pytest",
"pytest-cov",
"pytest-sugar",
]
[tool.cibuildwheel.linux]
archs = "x86_64 aarch64"
skip = "*musllinux* *i686"
before-all = "make develop-arrow-ubuntu && make develop-py"
[tool.cibuildwheel.macos]
archs = "x86_64 arm64"
environment = {CFLAGS="-I/usr/local/include -L/usr/local/lib", CXXFLAGS="-I/usr/local/include -L/usr/local/lib", LDFLAGS="-L/usr/local/lib"}
[tool.cibuildwheel.windows]
archs = "AMD64"
skip = "*win32 *arm_64"
[tool.ruff]
line-length = 170
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.pytest.ini_options]
testpaths = "arrow_python_nocopy/tests"
[tool.setuptools]
py-modules = ["arrow_python_nocopy"]