-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
75 lines (61 loc) · 1.7 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
[build-system]
requires = [
"pip",
"setuptools>=42",
"scikit-build",
"cmake>=3.20",
"ninja",
"pybind11>=2.6",
"libcasm-global>=2.0.5",
"libcasm-xtal>=2.0a10",
]
build-backend = "setuptools.build_meta"
[project]
name = "libcasm-mapping"
version = "2.0a6"
authors = [
{ name="CASM developers", email="[email protected]" },
]
description = "CASM structure mapping"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "LGPL2.1+"}
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Topic :: Scientific/Engineering",
]
dependencies = [
"libcasm-global>=2.0.5",
"libcasm-xtal>=2.0a10",
"numpy",
]
[project.urls]
Homepage = "https://prisms-center.github.io/CASMcode_docs/"
Repository = "https://github.com/prisms-center/CASMcode_mapping"
[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.9, 3.10, 3.11, 3.12
build = "cp39-* cp310-* cp311-* cp312-*"
# Build for cpython only
skip = "pp*"
# 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="10.15" }
repair-wheel-command = ""
[tool.cibuildwheel.linux]
# dependencies do not build for musl
skip = ["pp* *musllinux*"]
repair-wheel-command = ""