-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (43 loc) · 1.24 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
[tool.pdm]
[project]
name = "pypotlib"
version = "0.0.13"
description = "Python bindings and ASE adapters for potlib"
authors = [
{name = "Rohit Goswami", email = "[email protected]"},
]
# These are only if ase integration is requested, consider a group
dependencies = [
"numpy>=1.24.3",
"ase>=3.22.1",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}
[project.urls]
"Source Code" = "https://github.com/TheochemUI/pypotlib"
"Bug Tracker" = "https://github.com/TheochemUI/pypotlib/issues"
[build-system]
requires = ["pybind11", "meson-python"]
build-backend = "mesonpy"
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
environment = { RUNNER_OS="Linux" }
test-command = "echo 'installed'"
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
# Openblas for musllinux is painful, so don't install / test
test-skip = "*-musllinux*"
[tool.cibuildwheel.macos]
environment = { RUNNER_OS="macOS" }
before-all = "brew install gfortran && brew unlink gfortran && brew link gfortran"
[tool.pdm.dev-dependencies]
lint = [
"black>=23.1.0",
]
[tool.pdm.scripts]
lint = "black"
all = {composite = ["lint pypotlib/"]}
[tool.black]
line-length = 80
target-version = ['py310']