-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (60 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
74 lines (60 loc) · 1.71 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
[build-system]
requires = [
"pip",
"setuptools>=42",
"scikit-build",
"cmake>=3.20",
"ninja",
"pybind11~=3.0",
"libcasm-global>=2.3.0,<3",
"libcasm-xtal>=3.0a1,<4",
"libcasm-composition>=2.2.0,<3",
]
build-backend = "setuptools.build_meta"
[project]
name = "libcasm-monte"
version = "3.0a1"
authors = [
{ name="CASM developers", email="casm-developers@lists.engr.ucsb.edu" },
]
description = "CASM building blocks for Monte Carlo simulations"
readme = "README.md"
requires-python = ">=3.10,<3.15"
license = "LGPL-2.1-or-later"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"Topic :: Scientific/Engineering",
]
dependencies = [
"libcasm-global>=2.3.0,<3",
"libcasm-xtal>=3.0a1,<4",
"libcasm-composition>=2.2.0,<3",
"numpy",
]
[project.urls]
Homepage = "https://prisms-center.github.io/CASMcode_docs/"
Repository = "https://github.com/prisms-center/CASMcode_monte"
[tool.ruff.lint]
select = ["NPY201", "E", "F", "I"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["libcasm", "casm"]
[tool.cibuildwheel]
# Build for python3.10, 3.11, 3.12, 3.13, 3.14
build = "cp310-* cp311-* cp312-* cp313-* cp314-*"
# Need libcasm dependencies at wheel repair stage
before-build = "pip install -r build_requirements.txt"
# Testing
test-requires = "pytest pytest-datadir"
test-command = "pytest -rsap {project}/python/tests"
[tool.cibuildwheel.macos]
# C++17
environment = { MACOSX_DEPLOYMENT_TARGET="11.0" }
repair-wheel-command = ""
[tool.cibuildwheel.linux]
# dependencies do not build for musl
skip = ["*musllinux*"]
repair-wheel-command = ""