-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
43 lines (35 loc) · 1.08 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
[project]
name = "pyxorfilter"
version = "1.1.2"
description = "Python bindings for C implementation of xorfilter"
authors = [
{name = "Amey Narkhede", email = "[email protected]"},
]
dependencies = ["cffi", "xxhash"]
readme = "README.md"
license = {text = "Apache 2.0"}
requires-python = ">=3.0"
[project.urls]
Homepage = "https://github.com/glitzflitz/pyxorfilter"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
environment = { PIP_GLOBAL_OPTION="build_ext", PIP_NO_BUILD_ISOLATION="1" , CIBUILDWHEEL="1" }
build-frontend = "pip"
test-requires = "pytest"
before-test = ["pip install -e {package}"]
test-command = "pytest {project}/tests"
test-skip = "cp37-* pp37-*"
[tool.cibuildwheel.linux]
before-all = "yum install -y libffi-devel"
[tool.cibuildwheel.macos]
before-all = "brew install libffi"
[[tool.cibuildwheel.overrides]]
select = "*-manylinux2_*"
before-all = "apt-get -y install libffi-dev"
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = "apk add libffi-dev"
[tool.setuptools]
py-modules = []