-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (53 loc) · 1.5 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pyquadp"
description = "Python's bindings for gcc's libquadmath"
requires-python = ">=3.7"
authors = [
{name="Robert Farmer", email="[email protected]"}
]
dependencies =[
"numpy"
]
license = {text = "GPLv2"}
readme = {file = "README.md", content-type = "text/markdown"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Scientific/Engineering :: Mathematics"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/rjfarmer/pyquadp"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
addopts = "-s"
[tool.setuptools]
packages = ["pyquadp"]
[tool.setuptools_scm]
[tool.cibuildwheel]
test-requires = "pytest"
test-command = "pytest {project}"
archs = ["native"]
before-test = [
"pip install -r {project}/requirements_dev.txt"
]
[tool.cibuildwheel.linux]
before-test = "yum install -y gcc-gfortran"
archs = ["x86_64"]
[tool.cibuildwheel.macos]
before-test = [
"brew install gcc@12",
"ln -s /usr/local/bin/gfortran-12 /usr/local/bin/gfortran",
"ln -s /usr/local/bin/gcc-12 /usr/local/bin/gcc"
]
archs = ["x86_64", "arm64"]