-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (80 loc) · 2.34 KB
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
[build-system]
requires = [
"scikit-build-core>=0.11.5",
"pybind11>=2.10",
"setuptools",
"wheel",
"numpy"
]
build-backend = "scikit_build_core.build"
[project]
name = "differintC"
dynamic = ["version"]
description = "Fast C++ implementation of fractional calculus operators via pybind11"
authors = [{ name = "Parsa Roshanak" }]
license = { text = "GPL-3.0-or-later" } # Changed to GPL for compatibility with fftw
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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 :: 3.13",
"Programming Language :: C++",
"Topic :: Scientific/Engineering :: Mathematics",
"Intended Audience :: Science/Research"
]
[project.urls]
Homepage = "https://github.com/iparsw/differintC"
Repository = "https://github.com/iparsw/differintC"
Issues = "https://github.com/iparsw/differintC/issues"
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "differintC/_version.py"
regex = "^__version__\\s*=\\s*['\"](?P<value>[^'\"]+)['\"]"
[tool.scikit-build]
wheel.packages = ["differintC"]
build-dir = "build"
build.verbose = true
install.components = ["python", "stubs"]
[tool.scikit-build.sdist]
# Explicitly list what should go in sdist
include = [
"differintC/**",
"include/**",
"src/**",
"python/**",
#"examples/**",
#"tests/**",
"README.MD",
"pyproject.toml",
"LICENSE",
"CHANGELOG.md",
"thirdparty/fftw/lib/libfftw3-3.lib",
"thirdparty/fftw/bin/libfftw3-3.dll",
"thirdparty/fftw/include/fftw3.h",
"differintC/_differintC.pyi"
]
# Explicitly exclude binary & third-party build junk
exclude = [
"thirdparty/**",
"differintC/*.lib",
"differintC/*.exp",
"differintC/*.def",
"*.exe",
"*.pyd",
"*.so",
"*.dll"
]
[tool.scikit-build.cmake]
args = [
"-DFFTW_ROOT=thirdparty/fftw",
"-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL",
"-DPROJECT_VERSION_FILE=differintC/_version.py",
]