-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpyproject.toml
88 lines (76 loc) · 2.7 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
[project]
name = "fdasrsf"
version = "2.6.1"
description = "functional data analysis using the square root slope framework"
authors = [
{name = "J. Derek Tucker", email = "[email protected]"}
]
license = {text = "BSD 3-Clause"}
readme = "README.md"
requires-python = ">=3.10"
keywords = ["functional data analysis"]
dependencies=[
"Cython",
"matplotlib",
"numpy>=1.25",
"scipy>=1.14",
"joblib",
"patsy",
"tqdm",
"six",
"numba",
"cffi>=1.0.0",
"pyparsing",
]
classifiers = [
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
]
[project.urls]
homepage = "http://research.tetonedge.net"
repository = "https://github.com/jdtuck/fdasrsf_python"
documentation = "https://fdasrsf-python.readthedocs.io/en/latest/"
[tool.cibuildwheel]
# Note: the below skip command doesn't do much currently, the platforms to
# build wheels for in CI are controlled in `.github/workflows/wheels.yml` and
# `tools/ci/cirrus_wheels.yml`.
skip = "cp36-* cp37-* cp38-* pp* *_i686 *_ppc64le *_s390x *-win32"
build-verbosity = "3"
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
before-build = "bash {project}/bin/cibw_before_build_linux.sh {project}"
environment = {RUNNER_OS="Linux"}
[tool.cibuildwheel.macos]
before-build = "bash {project}/bin/cibw_before_build_macos.sh {project}"
environment = {RUNNER_OS="macOS"}
[tool.cibuildwheel.windows]
before-build = "bash {project}/bin/cibw_before_build_win.sh {project}"
#repair-wheel-command = "bash ./bin/repair_windows.sh {wheel} {dest_dir}"
environment = {RUNNER_OS="Windows"}
[[tool.cibuildwheel.overrides]]
select = "*-win32"
environment = {PKG_CONFIG_PATH="/opt/32/lib/pkgconfig"}
[[tool.cibuildwheel.overrides]]
select = "*-win_amd64"
# can use pkg-config detection for win_amd64 because the installed rtools
# provide a working pkg-config.
# An alternative is to set CMAKE_PREFIX_PATH="c:/opt/openblas/if_32/32"
# Don't use double backslash for path separators, they don't get passed
# to the build correctly
# environment = { CMAKE_PREFIX_PATH="c:/opt/64" }
environment = { PKG_CONFIG_PATH = "c:/opt/64/lib/pkgconfig" }
[build-system]
requires = ["setuptools<=73.0.1", "wheel", "cffi>=1.0.0", "Cython", "findblas", "numpy"] # PEP 518 - what is required to build
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--import-mode=importlib"
testpaths = [
"tests",
]