-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (41 loc) · 1.34 KB
/
pyproject.toml
File metadata and controls
46 lines (41 loc) · 1.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
[build-system]
requires = ["scikit-build-core>=0.10", "pybind11"]
build-backend = "scikit_build_core.build"
[project]
name = "libmcphase"
dynamic = ["version"]
description = "A mean-field Monte Carlo simulation program for magnetic phase diagrams and excitations"
readme = "README.md"
authors = [
{ name = "Duc Le", email = "duc.le@stfc.ac.uk" },
{ name = "Martin Rotter" },
]
requires-python = ">=3.8"
license = "GPL-3.0-or-later"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: POSIX :: Linux",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = ["numpy>=1.18"]
[project.urls]
Repository = "https://github.com/mducle/libmcphase"
[tool.scikit-build.cmake.define]
CMAKE_CXX_FLAGS_RELEASE = "-O2 -DNDEBUG"
[tool.scikit-build]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["libmcphase/_version.py"]
cmake.args = ["-G Unix Makefiles"]
build.tool-args = ["-j8"]
#build.verbose = true
#logging.level = "INFO"
[[tool.scikit-build.overrides]]
if.platform-system = "^win"
cmake.args = []
build.tool-args = []
[tool.setuptools_scm] # Section required
write_to = "libmcphase/_version.py"