-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (68 loc) · 1.94 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
[build-system]
requires = ["scikit-build-core>=0.5.0", "pybind11>=2.6.2"]
build-backend = "scikit_build_core.build"
# edit from here
[project]
name = "bobkit"
authors = [
{ name = "SOON WEN HOH" },
{ email = "soonwen.hoh@york.ac.uk" },
]
description = "BOBKit: Python Modules for Building Biomacromolecular Models"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
]
dependencies = ["numpy<2.0.0"]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/scotthoh/BOBKit"
[tool.scikit-build]
# Protect the configuration against future changes in scikit-build-core
minimum-version = "0.8"
experimental = true # for install-dir
# minimum cmake version
cmake.version = ">=3.20"
ninja.version = ">=1.11"
# Setuptools style build caching in a local directory
build-dir = "build/{wheel_tag}"
#wheel.install-dir = "/data"
# Build stable ABI wheels for CPython 3.12+
#wheel.py-api = "cp312"
wheel.packages = []
sdist.exclude = [".github"]
sdist.include = [
"./README.md",
"./LICENSE.txt",
"./CMakeLists.txt",
"./pyproject.toml",
"include/buccaneer/*.h",
"reference_data",
"python/*.cpp",
"python/*.h",
"python/version.hpp",
]
cmake.build-type ="Release"
cmake.verbose = true
[tool.scikit-build.cmake.define]
USE_PYTHON = "ON"
BUCCANEER_PROFILE = "ON"
BUILD_OWN_FFTW3 = "ON"
BUILD_SHARED_LIBS = "OFF"
# Get version from python/version.hpp file
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "python/version.hpp"
regex = "#define BOBKIT_VERSION \"(?P<value>[0-9dev.-]+)\""
#[tool.pytest.ini_options]
#minversion = "6.0"
#addopts = ["-ra", "-q"]
#testpaths = ["tests"]