-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
100 lines (89 loc) · 2.92 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
[project]
name = "gaussianfft"
dynamic = ["version"]
license = { file = "LICENSE.txt" }
description = "A fast library for simulating Gaussian Random Fields, using the fast Fourier transform"
readme = "README.md"
authors = [
{ name = "Norwegian Computing Center", email = "" },
{ name = "Sindre Nistad", email = "[email protected]" },
]
keywords = [
"Stochastic simulation",
"Gaussian random field",
"FFT",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: C++",
"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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"numpy",
]
requires-python = ">=3.6"
[project.urls]
Homepage = "https://equinor.com"
Repository = "https://github.com/equinor/gaussianfft"
Issues = "https://github.com/equinor/gaussianfft/issues"
[project.optional-dependencies]
util = ["scipy"]
[build-system]
requires = [
# Scikit-build-core does not support Python 3.6 (and older)
"scikit-build-core >= 0.8 ; python_version >= '3.7'",
"mkl-static ; platform_machine == 'x86_64' or platform_machine == 'AMD64'",
"mkl-devel ; platform_machine == 'x86_64' or platform_machine == 'AMD64'",
"pybind11[global]",
]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
cmake.version = ">=3.19"
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = [
"gaussianfft/_version.py", # generated by setuptools-scm
# Include cached donwloads / compiled dependencies
"sources",
]
sdist.exclude = [
"venv",
"build",
"stage",
"dist",
# Related to bootstrapping boost
"sources/boost/boost_*",
"sources/*/*.tar.gz",
# These are artifacts from compiling boost, which we do not want to include
# in the source distribution
"sources/boost/*/b2",
"sources/boost/*/bin.v2",
"sources/boost/*/project-config.jam*",
"sources/boost/*/stage",
"cmake-build-debug/*",
".github",
"notebooks",
"doc",
"tests",
"examples",
"compose.yaml",
]
[tool.setuptools_scm]
# `write_to` is deprecated in favor of `version_file`
# However, setuptools_scm droped support for Python 3.7 with version 8
# https://setuptools-scm.readthedocs.io/en/latest/config/#configuration-parameters
write_to = "gaussianfft/_version.py"
# This should only be present on CI
local_scheme = "no-local-version"