-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (55 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
67 lines (55 loc) · 1.5 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
[build-system]
requires = [
"setuptools>=42",
"scikit-build",
"cmake>=3.20",
"ninja",
"pybind11~=3.0"
]
build-backend = "setuptools.build_meta"
[project]
name = "libcasm-global"
version = "2.4.1"
authors = [
{ name="CASM developers", email="casm-developers@lists.engr.ucsb.edu" },
]
description = "Constants, definitions, and generically useful tools used by CASM"
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 = [
"numpy",
]
[project.urls]
Homepage = "https://prisms-center.github.io/CASMcode_docs/"
Repository = "https://github.com/prisms-center/CASMcode_global"
[build_sphinx]
source-dir = "doc"
build-dir = "doc/build"
all_files = 1
[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-*"
# Checkout submodules
before-all = "git submodule update --init --recursive"
# Testing
test-requires = "pytest"
test-command = "pytest -rsap {project}/python/tests"
[tool.cibuildwheel.macos]
# C++17
environment = { MACOSX_DEPLOYMENT_TARGET="11.0" }
[tool.cibuildwheel.linux]
# dependencies do not build for musl
skip = ["*musllinux*"]